Replies: 1 comment 1 reply
-
After reading, it fully ~5 times, this page was most helpful for me: Good luck! |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
If I read the documentation on connecting to Graph in combination with SSO in a Teams tab it says:
Which seems like a reasonable approach (if your actually have a backend app). But is you have client side app, (React, Blazer WebAssembly, Angular,...) and you want to show data from graph you have three options:
This second option sounds like a solid option, if you ask me, but the documentation says:
Long introduction, short question:
What is the recommended and fastest way for a client side Teams Tab application to get data from Graph?
Related to that, the current authentication requires the implicit flow, wouldn't it make more sense for Teams SDK to utilize MSAL2 to just get the correct tokens client side and thus allowing direct access to Graph while still keeping the tokens (kind of safe). If you trigger the Teams popup with the MSAL redirect in it and with information you can get from Teams (like the Tenant ID and the username), and that user has already logged-in once, the popup will disappear immediately.
Beta Was this translation helpful? Give feedback.
All reactions