Error - Guard - error while logging in, unable to activate - blocks the msal guard #6055
Labels
answered
Question has received "first qualified response"
b2c
Related to Azure B2C library-specific issues
bug-unconfirmed
A reported bug that needs to be investigated and confirmed
msal-angular
Related to @azure/msal-angular package
msal-browser
Related to msal-browser package
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 v2 (@azure/msal-browser)
Core Library Version
2.33.0
Wrapper Library
MSAL Angular (@azure/msal-angular)
Wrapper Library Version
2.5.3
Public or Confidential Client?
Confidential
Description
When user clicks for example change password, there is a request created for a password change. In case, if the user cancelled the change password dialog, he is sent back to the site, however the "Error - Guard - error while logging in, unable to activate" blocks the user from any action.
I was trying different workarounds for solving this issue:
set the active account (however the active account is set correctly)
authService.ssoSilent
nothing helps, the system remains broken, all features are not functioning due to the error mentioned above.
When users cancels the Change Password or cancels the Impersonate flow by clicking the Cancel button - the system shouldn't be competely broken. The user is expected to remain logged in.
Error Message
ERROR ServerError: access_denied: AADB2C90091: The user has cancelled entering self-asserted information.
Error - Guard - error while logging in, unable to activate
Msal Logs
Error - Guard - error while logging in, unable to activate
MSAL Configuration
Relevant Code Snippets
Reproduction Steps
Expected Behavior
the user should be able to use the system as usual after cancelling the current change password or impoersonate user flow.
Identity Provider
Azure B2C Custom Policy
Browsers Affected (Select all that apply)
Chrome, Firefox, Edge, Internet Explorer
Regression
No response
Source
External (Customer)
The text was updated successfully, but these errors were encountered: