Hello, I'm struggling a bit coming up with a clear approach for managing authentication for our embedded MS Teams application.
Our users are segregated into different companies, and each company may handle provisioning and authentication methods in a different way according to configuration.
When embedding our app in MS Teams, it's not really clear how to show them tailored content or have them be authenticated into our app from within the iframe.
I've checked the auth documentation and videos for MS Teams, but most of it either describes how to get access to Graph data or use SSO with AAD or Microsoft oauth2 to get the users authenticated in the embedded application. But is there a way to let users login to our app with any of our current methods and then redirect back to the tab?
Will the SDK methods allow for such flow, or can anyone point me in the right direction.
Thanks in advance!