How to force a InteractionRequiredAuthError
? For integration testing
#7140
Labels
feature-unconfirmed
msal-browser
Related to msal-browser package
msal-react
Related to @azure/msal-react
Needs: Author Feedback
Awaiting response from issue author
no-issue-activity
Issue author has not responded in 5 days
public-client
Issues regarding PublicClientApplications
question
Customer is asking for a clarification, use case or information.
Core Library
MSAL.js (@azure/msal-browser)
Wrapper Library
MSAL React (@azure/msal-react)
Public or Confidential Client?
Public
Description
Hi
I'm in a situation where our application behaves very strange when msal throws a
InteractionRequiredAuthError
and application attempts to solve it withacquireTokenRedirect
.The problem is that Interaction required only happens once every few days and the whole flow becomes very difficult to troubleshoot and reproduce.
Is there any way one can force such an error? Just unit testing the scenarios is not enough, because how
acquireTokenPopup
/acquireTokenRedirect
behave together with the browser and interaction with Azure is also very tightly coupled.Source
External (Customer)
The text was updated successfully, but these errors were encountered: