Msteams-docs: Is there any full working demo for Silent SSO Authentication in Teams Tab with different clientId

Created on 11 Oct 2019  Â·  9Comments  Â·  Source: MicrosoftDocs/msteams-docs

Is there any full working demo for Silent SSO Authentication in Teams Tab with different clientId?
Using adal.js I am able to redirect in Microsoft Teams Web Version using clientId but Desktop Microsoft teams app not returning back only showing a blank screen.
Redirection not working in Desktop MS Team App.
Does code available in C# or javascript langauge ?

Thanks In Advance


Document Details

⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

teams-developer-support

All 9 comments

@Ky7m Thanks for the reply. Let me take a look. I want to create an app for ms teams that will work for multi-tenancy based on Microsoft graph delegated permission. I am stuck with redirection in the Microsoft Team Desktop version installed app.

Please take a look at msteams-sample-contoso-hr-talent-app which have SSO implementation for tabs. Let us know if you need any assist on that.

@Trinetra-MSFT Thanks for the reply. I will take a look and let you know if it works or not.

Thank you @Trinetra-MSFT and @Ky7m I am able to integrate and test provided solution reference for SSO Login with ClientID in Web version of Microsoft Teams.

If I am logged into Microsoft Teams Desktop App and Go to my app in teams app and open my app it will not auto-login. It is showing "Sign In" Button.

When I Sign In it will redirect to Microsoft login page in popup and prompting credential.

Can you provide way to resolve this issue?

In teams users are already logged in.Then why asking to authenticate again? The bot should be able to silently identify the user and move on ?

@infact I am not sure why it's asking credential but it is asking credential and it is prompting Microsoft login popup.

Currently there is only Silent Authentication supported in Microsoft Teams. For any third party app, you needs to Sign In at least once to consent. If you logout from Teams client then it clears out the cache and your needs to Sign In again. Please try out Auth Sample manifest to see the experience.

Thanks, @Trinetra-MSFT for feedback and I will look into provided Auth Sample Manifest and get back to you if I need help.
Thanks again for the support.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

kafka-yu picture kafka-yu  Â·  5Comments

Navyjetfixer picture Navyjetfixer  Â·  4Comments

krishnajaju picture krishnajaju  Â·  6Comments

DamienDoumer picture DamienDoumer  Â·  7Comments

XimenaWang picture XimenaWang  Â·  6Comments