SSO using Teams account information.

%3CLINGO-SUB%20id%3D%22lingo-sub-1194759%22%20slang%3D%22en-US%22%3ESSO%20using%20Teams%20account%20information.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1194759%22%20slang%3D%22en-US%22%3E%3CP%3EI%20created%20a%20TAB%20that%20uses%20the%20same%20login%20account%20as%20the%20one%20used%20by%20Teams.%26nbsp%3B%26nbsp%3BHow%20can%20this%20website%20get%20the%20account%20information%20for%20Teams%3F%26nbsp%3B%26nbsp%3BThe%20process%20is%20rough%20as%20follows%3A%3C%2FP%3E%3CP%3EI%20--%26gt%3B%20login%20Teams%20--%26gt%3B%20access%20Tab(website)%20--%26gt%3B%20Tab(website)%20access%20Teams%20account%20--%20%26gt%3B%20auto-login%20Tab(website).%26nbsp%3B%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1194759%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAdministrator%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EDeveloper%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESSO%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1197769%22%20slang%3D%22en-US%22%3ERe%3A%20SSO%20using%20Teams%20account%20information.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1197769%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F556980%22%20target%3D%22_blank%22%3E%40xwl-intl%3C%2FA%3E%26nbsp%3BPlease%20go%20through%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fmicrosoftteams%2Fplatform%2Ftabs%2Fhow-to%2Fauthentication%2Fauth-aad-sso%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Eimplementing%20SSO%20for%20Tabs%3C%2FA%3E.%20Here%20is%20a%20sample%20%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Fydogandjiev%2Ftaskmeow%2Fblob%2Fmaster%2Fmanifest%2Fsso%2Ftaskmeow-sso.zip%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Emanifest%3C%2FA%3E%20that%20you%20could%20directly%20upload%20inside%20Teams%20to%20see%20the%20experience%20with%20SSO.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1199822%22%20slang%3D%22en-US%22%3ERe%3A%20SSO%20using%20Teams%20account%20information.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1199822%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F359599%22%20target%3D%22_blank%22%3E%40Gousia_Begum%3C%2FA%3E%26nbsp%3B%20%26nbsp%3B%3C%2FP%3E%3CP%3EThank%20you%20very%20much.%20I%20downloaded%20the%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2FOfficeDev%2Fmicrosoft-teams-sample-auth-node%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%20microsoft-teams-sample-auth-node%3C%2FA%3E%20and%20tested%20it.%26nbsp%3BThis%20is%20a%20very%20complicated%20example.%20In%20addition%2C%20can%20silent%2Fsimple%20be%20used%20in%20the%20iframe%20website%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1200349%22%20slang%3D%22en-US%22%3ERe%3A%20SSO%20using%20Teams%20account%20information.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1200349%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F556980%22%20target%3D%22_blank%22%3E%40xwl-intl%3C%2FA%3E%26nbsp%3BThe%20sample%20that%20you%20have%20downloaded%20does%20not%20use%20SSO.%20It%20will%20still%20ask%20the%20user%20to%20sign%20in.%20Here%20is%20the%20%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Fydogandjiev%2Ftaskmeow%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Esample%3C%2FA%3E%20you%20need%20to%20use%20if%20you%20want%20to%20pick%20up%20the%20user%20details%20from%20Teams%20client%20signin.%20What%20do%20you%20mean%20by%20iframe%20website%3F%20This%20auth%20sample%20only%20works%20inside%20Teams.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1202415%22%20slang%3D%22en-US%22%3ERe%3A%20SSO%20using%20Teams%20account%20information.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1202415%22%20slang%3D%22en-US%22%3EI%20mean%20the%20Tab%20I%20created%20is%20an%20iframe%20website.%20I'm%20also%20this%20iframe%20website%20developer.%20Can%20the%20iframe%20website%20use%20SSO%20to%20access%20Teams%20account%20information%3F%3C%2FLINGO-BODY%3E
New Contributor

I created a TAB that uses the same login account as the one used by Teams.  How can this website get the account information for Teams?  The process is rough as follows:

I --> login Teams --> access Tab(website) --> Tab(website) access Teams account -- > auto-login Tab(website).  

4 Replies

@xwl-intl Please go through implementing SSO for Tabs. Here is a sample manifest that you could directly upload inside Teams to see the experience with SSO.

@Gousia_Begum   

Thank you very much. I downloaded the microsoft-teams-sample-auth-node and tested it. This is a very complicated example. In addition, can silent/simple be used in the iframe website?

@xwl-intl The sample that you have downloaded does not use SSO. It will still ask the user to sign in. Here is the sample you need to use if you want to pick up the user details from Teams client signin. What do you mean by iframe website? This auth sample only works inside Teams.

I mean the Tab I created is an iframe website. I'm also this iframe website developer. Can the iframe website use SSO to access Teams account information?