Forum Discussion
stabacco
Jun 05, 2023Copper Contributor
renewalTimeout from getAuthToken inside teams desktop tab
Hello all,
we are developing a teams app which embeds our existing web app inside teams. I have followed the
sso guide online and it's all working well when teams run in the browser.
Whenever we are running the desktop app however we seem to get stuck on the
microsoftTeams.authentication.getAuthToken call, which times out with a renewalTimeout error.
I do believe that the azure sso is setup correctly because the authentication flow works fine on the web, however we cannot get the token from the native app.
Any help would be appreciated, since we are currently lost on this.
These are some of the logs:
Created a request with the following properties:
{"LoginHint":"email address removed for privacy reasons,"msafed":"1","correlationId":"{A1A46CEB-BF1C-4D3B-B8BF-7426A3C78DD1}","resource":"api://<origin>/<appid>","claims":"User.Read"}
Mon Jun 05 2023 14:08:31 GMT+1000 (Australian Eastern Standard Time) <304> -- info -- Fetching silent token with a web account
Mon Jun 05 2023 14:08:31 GMT+1000 (Australian Eastern Standard Time) <304> -- info -- Getting silent token.
Mon Jun 05 2023 14:08:32 GMT+1000 (Australian Eastern Standard Time) <304> -- info -- WAM: Silent token fetch complete.
Mon Jun 05 2023 14:08:32 GMT+1000 (Australian Eastern Standard Time) <304> -- info -- token fetch responded withs:5;e:caa20002;aadStsErr:AADSTS901001;;
Mon Jun 05 2023 14:08:32 GMT+1000 (Australian Eastern Standard Time) <304> -- info -- resource:api://<origin>/<appid> ssorenew data:newPromise;gtia:ggt;ght;gp:cached;cr:s;cp1Off;addCCNonLlt:true-s;gst:wa:s:5;e:caa20002;s;atsPrePQ:5;
Mon Jun 05 2023 14:08:37 GMT+1000 (Australian Eastern Standard Time) <304> -- info -- Middleware:: Action:
1 Reply
Sort By