When using standalone components MSAL Angular gets stuck in a redirect loop after signing-in when query string contains an apostrophe (%27) #7636
Labels
bug-unconfirmed
A reported bug that needs to be investigated and confirmed
msal-angular
Related to @azure/msal-angular package
msal-browser
Related to msal-browser package
Needs: Attention 👋
Awaiting response from the MSAL.js team
public-client
Issues regarding PublicClientApplications
question
Customer is asking for a clarification, use case or information.
Core Library
MSAL.js (@azure/msal-browser)
Core Library Version
^4.0.0 (4.7.0)
Wrapper Library
MSAL Angular (@azure/msal-angular)
Wrapper Library Version
^4.0.0 (4.0.6)
Public or Confidential Client?
Public
Description
When using standalone components MSAL Angular gets stuck in a redirect loop after signing-in when query string contains an apostrophe (%27) - for example: https://localhost:4200/profile?comments=blah%27blah.
This is easily reproduced using the Angular Standalone Sample
Error Message
There is no error message, but the MSAL Angular gets stuck in a redirect loop.
MSAL Logs
Please find verbose logs attached.
VerboseLogs.txt
Network Trace (Preferrably Fiddler)
MSAL Configuration
Relevant Code Snippets
Reproduction Steps
Expected Behavior
MSAL Angular shouldn't get stuck in a redirect loop. It should display the profile route.
Identity Provider
Entra ID (formerly Azure AD) / MSA
Browsers Affected (Select all that apply)
Edge, Chrome
Regression
No response
The text was updated successfully, but these errors were encountered: