Why do I get interaction_in_progress for the following order of method calls? #7502
Open
1 of 2 tasks
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
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.28.0
Wrapper Library
Not Applicable
Wrapper Library Version
none
Public or Confidential Client?
Public
Description
I don't know if this is a bug or not. The following order of method calls are not working:
and the following, with an extra clear cache does work:
This is not the actual code, not even pseudocode, this is just an ordered list of things I do with the msal.js library.
Am I doing something wrong?
This is in an angular app, and I'm intentionally not using any wrapper. (I've had many issues with the angular wrapper, at least this is working, more or less) What I have is just a service that calls the msal instance, and a component with a login, logout button, that uses the instance.
Error Message
MSAL Logs
Network Trace (Preferrably Fiddler)
MSAL Configuration
Relevant Code Snippets
Reproduction Steps
call these methods in this order, as mentioned above
addEventCallback();
initialize();
getActiveAccount();
getAllAccounts();
loginRedirect();
Expected Behavior
Login redirect should work
Identity Provider
Azure B2C Basic Policy
Browsers Affected (Select all that apply)
Chrome, Other
Regression
No response
The text was updated successfully, but these errors were encountered: