Skip to content

acquire_token_interactive() never returns when user does not have access [Bug] #623

Locked Answered by bgavrilMS
craigwalton asked this question in Q&A
Discussion options

You must be logged in to vote

This is by design @craigwalton - most config errors are displayed to the user instead of being relayed back to the app. There is nothing your application can do at runtime with the error information there, except to display some generic "Can't login" which is not ideal.

Also, when you say "there is no exit or continue" button, please note that the end-user can close the browser. WIth the system browser, MSAL can't know when the browser is closed.

With WAM, the end-user experience is better, because you'll get an "auth cancelled" error whenever the user closes the interactive experience, so you are at least able to monitor cancellations.

Replies: 5 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by rayluo
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
3 participants
Converted from issue

This discussion was converted from issue #620 on November 11, 2023 19:40.