Logout with multiple browser tabs open #7402
Labels
bug-unconfirmed
A reported bug that needs to be investigated and confirmed
confidential-client
Issues regarding ConfidentialClientApplications
msal-angular
Related to @azure/msal-angular package
msal-browser
Related to msal-browser package
Needs: Attention 👋
Awaiting response from the MSAL.js team
question
Customer is asking for a clarification, use case or information.
Core Library
MSAL.js (@azure/msal-browser)
Core Library Version
2.30.0
Wrapper Library
MSAL Angular (@azure/msal-angular)
Wrapper Library Version
2.4.5
Public or Confidential Client?
Confidential
Description
We have a requirement to log user out after certain idle time. When the application is opened in multiple browser tabs and all are kept idle, the application simultaneously triggers msalService.logout() from all tabs, but this works only on one tab and on other tabs we get the below error
BrowserAuthError: interaction_in_progress: Interaction is currently in progress. Please ensure that this interaction has been completed before calling an interactive API. For more visit: aka.ms/msaljs/browser-errors.
Error Message
No response
MSAL Logs
No response
Network Trace (Preferrably Fiddler)
MSAL Configuration
Relevant Code Snippets
NA
Reproduction Steps
Trigger msalService.logout() from multiple browser tabs at a time
Expected Behavior
User should be logged out from all the tabs
Identity Provider
Entra ID (formerly Azure AD) / MSA
Browsers Affected (Select all that apply)
Chrome, Edge
Regression
No response
The text was updated successfully, but these errors were encountered: