Forum Discussion
techie2021
Nov 22, 2021Copper Contributor
Microsoft Teams SDK getAuthToken for multi-tenant AAD application ('common' endpoint)
Hi, I have done the SSO Authentication as documented https://docs.microsoft.com/nl-nl/microsoftteams/platform/tabs/how-to/authentication/auth-aad-sso, it works great. But now, I have changed my A...
Nivedipa-MSFT
Microsoft
Nov 23, 2021Could you please try to change tenantid to common in appsettings file and check again?
techie2021
Nov 24, 2021Copper Contributor
Hi Nivedipa,
Thanks for the reply. I am working in nodeJS and getAuthToken method is not passed any tenentid or common. Could you please guide me for nodeJS?
Thanks for the reply. I am working in nodeJS and getAuthToken method is not passed any tenentid or common. Could you please guide me for nodeJS?
- Nivedipa-MSFTNov 25, 2021
Microsoft
Could you please go through below sample.
https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/app-auth/nodejs- techie2021Nov 25, 2021Copper Contributor
Yes, I have implemented it the same way, but the getAuthToken call goes to tenant endpoint not 'common'
- Nivedipa-MSFTNov 25, 2021
Microsoft
Could you please elaborate more on this?