Forum Discussion
SSO login not working in Teams Desktop app
Hi,
I Created basic Tab SSO App in which SSO login working perfectly from teams in Browser mode but it just stuck on popup window in Teams Desktop mode.
Edit>
i found same issue mentioned in one of discussion
Thanks
- Nivedipa-MSFTMicrosoftsuvi-15 - Could you please refer below Tab SSO sample :
https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/tab-sso- suvi-15Brass ContributorThanks! I will take look into this
- suvi-15Brass Contributor
Hi,
what different approach this example used so that this white screen doesn't appear. I haven't run at my side. But curious what's difference. I followed https://docs.microsoft.com/en-us/learn/modules/msteams-sso/ documentation.
What i understood is at this step
// add extra query parameters Azure AD login request
// include scope for OpenID connect and log-in hint by using the current Microsoft Teams logged-in usersomehow this query parameters doesn't appended to url. Please let me know the resolution.
- suvi-15Brass ContributorHi,
what different approach this example used so that this white screen doesn't appear. I haven't run at my side. But curious what's difference. I followed https://docs.microsoft.com/en-us/learn/modules/msteams-sso/ documentation.
What i understood is at this step
// add extra query parameters Azure AD login request
// include scope for OpenID connect and log-in hint by using the current Microsoft Teams logged-in user
somehow this query parameters doesn't appended to url. Please let me know the resolution.- Nivedipa-MSFTMicrosoftsuvi-15 - Could you please clarify your issue in detail?
- rowlandjonathanCopper ContributorI am facing the same issue where the authorization happens successfully in a web browser but not on the teams desktop app.
- Faisal1775Brass Contributor
There could be a few reasons why your SSO login is not working in the Teams desktop app. Here are some troubleshooting steps you can try:
Check that you are using the correct login credentials: Make sure you are using the correct username and password to log in to your SSO account. You may want to try logging in to your SSO account from a web browser to confirm that your credentials are correct.
Verify that your SSO settings are correctly configured: Check with your IT department or SSO provider to make sure that your SSO settings are correctly configured for use with the Teams desktop app.
Clear your Teams desktop app cache: Clearing the cache in the Teams desktop app can sometimes resolve login issues. To do this, go to Settings > Privacy and select "Clear Cache."
Check for updates: Make sure that your Teams desktop app is up to date by checking for updates in the Microsoft Store.
Try logging in from a different device or network: If none of the above steps work, try logging in to the Teams desktop app from a different device or network to see if the issue is related to your device or network configuration.
If none of these troubleshooting steps work, you may want to contact your IT department or SSO provider for further assistance.