-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
[msal-browser] Fix response handling when navigateToLoginRequestUrl=false #1973
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add a unit test? Also I would rather find a way to manipulate config options within the E2E test than to create a new sample for each config change we want to test.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nitpick: Can we call the sample something like navigateToLoginPageFalse
to be more accurate? Dont have a better suggestion atm
This PR fixes an issue in
@azure/msal-browser
where the response was not being handled correctly ifnavigateToLoginRequestUrl=false
. Also adds a sample to easily test for this, will add end-to-end tests soon.