Nov 22 2021 11:06 PM
Hi,
I have done the SSO Authentication as documented here, it works great. But now, I have changed my AAD Application to be Multi-tenant as explained here. It is mentioned to update the code to send requests to /common endpoint.
The call to microsoftTeams.authentication.getAuthToken() however goes to /{tenentid} endpoint.
How can I change it to go to /common? What am I missing here?
Nov 23 2021 03:29 AM
Could you please try to change tenantid to common in appsettings file and check again?
Nov 24 2021 10:16 PM
Nov 25 2021 03:59 AM
Could you please go through below sample.
https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/app-auth/nodejs
Nov 25 2021 09:23 AM
Yes, I have implemented it the same way, but the getAuthToken call goes to tenant endpoint not 'common'
Nov 25 2021 11:35 PM
Could you please elaborate more on this?
Dec 12 2021 01:09 AM