Team SSO - How to call my API #15335
Unanswered
gauravsarwal
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am new to Team app development and thinking of developing an app with tab, bot and messaging extension. The authentication part is but confusing and I need some guidence.
Team SSO requires registering an application in entra with scope access_as_user so that we can get their tenantid, userid etc, Team client side SDK method microsoftTeams.authentication.getAuthToken(), provide this token. Now if I need to call my API which I can protect with Entra schema too too along with others , I am not sure what is best way to call my API, I think of these options:
I am not sure what is primary purpose of token issued by microsoftTeams.authentication.getAuthToken(), can it be used to call API directly or I need to do OBO flow always. Any help or suggestion will be appreciated.
Beta Was this translation helpful? Give feedback.
All reactions