-
Notifications
You must be signed in to change notification settings - Fork 340
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
[Bug] Interactive auth with Edge system browser sometimes hangs #1506
Comments
P1 as it is blocking customers (Storage Explorer in particular) |
CC @crmann1 |
@bgavrilMS : we did not ship 4.8 yet? we might just want to mark it as fixed (and keep it open) |
I merged the fix and it looks like GitHub closes the associated issue... |
I think this is because GitHub inspects the PR comments and if it finds smth like "fixes bug xxx" then it automatically closes bug xxx. Smart, but not customizable ... :) https://help.github.com/en/github/managing-your-work-on-github/closing-issues-using-keywords |
oh, ok. thanks for the explantion, @bgavrilMS ! |
Released today in MSAL.NET 4.7.1 |
Which Version of MSAL are you using ?
MSAL 4.7
Platform
netcore or net classic
What authentication flow has the issue?
Repro
Configure interactive auth to use the system browser and also configure it to use Edge.
Actual behavior
Sometimes the browser hangs at an url similar to:
https://login.microsoftonline.com/common/reprocess?ctx=rQIIAW2Q
Eventually an MsalClientException occurs, stating:
Could not extract the query from the authorization response - check Pii enabled logs for details
This happens about 50% of the time.
Possible Solution
It looks like the TCP listener is invoked, but no data is available. Calling
ReadAsync
seems to block. After some time or if the browser is refreshed, the tcp listener reads 0 bytes.The text was updated successfully, but these errors were encountered: