Forum Discussion

xwl-intl's avatar
xwl-intl
Copper Contributor
Feb 26, 2020

SSO using Teams account information.

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's avatar
      xwl-intl
      Copper Contributor

      Gousia_Begum   

      Thank you very much. I downloaded thehttps://github.com/OfficeDev/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?

      • Gousia_Begum's avatar
        Gousia_Begum
        Former Employee

        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.

Resources