BrowserAuthError: monitor_window_timeout when using ssoSilent in combination with MFA #7576
Labels
b2c
Related to Azure B2C library-specific issues
bug-unconfirmed
A reported bug that needs to be investigated and confirmed
msal-browser
Related to msal-browser package
msal-react
Related to @azure/msal-react
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
3.26.1
Wrapper Library
MSAL React (@azure/msal-react)
Wrapper Library Version
2.1.1
Public or Confidential Client?
Public
Description
I switched from Azure B2C user policies to Identity Experience Framework using custom policies (based on the starter pack) and noticed that I now received a
monitor_window_timeout
error.Since I couldn't find anything helpful in the troubleshooting I investigated the whole scenaro and found the following:
The authentication request done by the iFrame was running into the MFA orchestration step of the custom policy which made it timeout:
Not sure if this is intended or not but at least it is not documented.
I simply removed the orchestration step and it worked again but still wanted to highlight this for transparency...
Error Message
monitor_window_timeout
MSAL Logs
No response
Network Trace (Preferrably Fiddler)
MSAL Configuration
Relevant Code Snippets
Reproduction Steps
...
Expected Behavior
...
Identity Provider
Azure B2C Custom Policy
Browsers Affected (Select all that apply)
Chrome
Regression
No response
The text was updated successfully, but these errors were encountered: