-
Notifications
You must be signed in to change notification settings - Fork 195
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
getAuthToken()
does not show the consent in a popup on a browser
#2421
Labels
Comments
wfseng
changed the title
getAuthToken() does not show the consent in a popup on a browser
Jul 23, 2024
getAuthToken()
does not show the consent in a popup on a browser
@wfseng Thanks for confirming this. We are trying this from our side to repro. Also please share any repro video or deployed app if you have for better investigation. |
microsoft-github-policy-service
bot
added
needs attention
and removed
needs author feedback
status: no recent activity
labels
Jul 29, 2024
@wfseng , we have raised a bug for this issue. We will inform you once we get any further update from engineering team. Thanks! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
A simple SSO token request does not generate a popup but instead redirects the current browser tab/window.
await microsoftTeams.app.initialize(); await microsoftTeams.authentication.getAuthToken();
If the user either rejects or accepts consent, they are redirected back to Teams default home url, away from the Teams tab app client.
The consent popup works ok in the Teams desktop client.
To reproduce this, the user must have never provided consent to the app.
Originally posted by @Prasad-MSFT in #2088 (comment)
The text was updated successfully, but these errors were encountered: