loadFrameTimeout not doing what it is documented to in msal-browser?
See original GitHub issueLibrary
-
msal@1.x.xor@azure/msal@1.x.x -
@azure/msal-browser@2.0.2 -
@azure/msal-angular@0.x.x -
@azure/msal-angular@1.x.x -
@azure/msal-angularjs@1.x.x
Important: Please fill in your exact version number above, e.g. msal@1.1.3.
Framework
React
Description
Noticed this while I was reading what loadFrameTimeout does, in the documentation:
https://github.com/AzureAD/microsoft-authentication-library-for-js/blob/90e0231e749e11c200290322abdcc32b67cddfb3/lib/msal-browser/src/config/Configuration.ts#L55
But in the code https://github.com/AzureAD/microsoft-authentication-library-for-js/blob/2c75dcfdc3af95ce942433d950ceb95de085c3da/lib/msal-browser/src/interaction_handler/SilentHandler.ts#L105, I see it is being used in a setTimeout. How I’m understanding this is that this value delays the load of the iframe. Is this expected?
Error Message
No error, just wondering if the config is doing what it says it does in the documentation
Security
- Is this issue security related?
Regression
- Did this behavior work before? Version:
MSAL Configuration
// Provide configuration values here.
// For Azure B2C issues, please include your policies.
Reproduction steps
// Provide relevant code snippets here.
// For Azure B2C issues, please include your policies.
Expected behavior
Browsers/Environment
- Chrome
- Firefox
- Edge
- Safari
- IE
- Other (Please add browser name here)
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (7 by maintainers)
Top Results From Across the Web
Avoid page reloads (MSAL.js) - Microsoft Entra
Learn how to avoid page reloads when acquiring and renewing tokens silently using the Microsoft Authentication Library for JavaScript ...
Read more >Microsoft Authentication Library for JavaScript (MSAL.js)
The MSAL library for JavaScript enables client-side JavaScript web applications, running in a web browser, to authenticate users using Azure AD work and ......
Read more >msal-browser - BrowserAuthError: monitor_window_timeout
Specify the iframeHashTimeout key under the system config options while initializing msal. I had increased the timeout from 6s to 10s. The ...
Read more >.setPageLoadTimeout() | TestController | Test API | API | Docs
You can also set the page load timeout when you launch tests from the command ... when the browser has loaded all the...
Read more >Token renewal operation failed due to timeout MSAL Angular ...
In any of my code I am not doing any operations for the login procedure. Its all happening automatically when I have these...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

@thoo1 I think I misunderstood your original question, and upon taking a second look, you’re correct that there’s a disconnect here and is actually a bug. We’re going to move this over to be fixed, thanks for the heads up!
@thoo1 PR has been opened to restore
loadFrameTimeoutto how it worked in v1 and addnavigateFrameWaitfrom v1. Feedback appreciated.