Closed LuBu0505 closed 6 months ago
Something, probably your router, has removed everything after state
, you can see this in your URL bar. Unfortunately if the information isn't there MSAL can't handle the response. You'll need to track down where the hash is being changed and stop it from doing so
@LuBu0505 This issue has been automatically marked as stale because it is marked as requiring author feedback but has not had any activity for 5 days. If your issue has been resolved please let us know by closing the issue. If your issue has not been resolved please leave a comment to keep this open. It will be closed automatically in 7 days if it remains stale.
Core Library
MSAL.js (@azure/msal-browser)
Core Library Version
2.38.3
Wrapper Library
MSAL Angular (@azure/msal-angular)
Wrapper Library Version
2.5.12
Public or Confidential Client?
Public
Description
login use met infinite loop. B2C already return the State value, But the MSAL cannot handler it.
The error condition:
The Customer modify code part:
The MSAL SDK version:
Error Message
No Error show , just infinite loop.
MSAL Logs
The error message is
MSAL.JS.BROWSER@2.38.2: Info - handleRedirectPromise did not detect a response hash as a result of a redirect. Cleaning temporary cache.
Network Trace (Preferrably Fiddler)
MSAL Configuration
Relevant Code Snippets
Reproduction Steps
NA
Expected Behavior
Login Successfully. and The State have value. Like the below screenshot:
Identity Provider
Azure B2C Custom Policy
Browsers Affected (Select all that apply)
Chrome, Edge
Regression
No response
Source
External (Customer)