Angular: acquireTokenRedirect
is not actually called by the interceptor on error
#6282
Labels
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
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
2.38.0
Wrapper Library
MSAL Angular (@azure/msal-angular)
Wrapper Library Version
2.5.9
Public or Confidential Client?
Public
Description
acquireTokenRedirect
is an observable and needs to be subscribed to fire. In the code, it needs a "return" statement before it, as it is now, nothing happens.See code here:
https://github.com/AzureAD/microsoft-authentication-library-for-js/blob/dev/lib/msal-angular/src/msal.interceptor.ts#L207
Error Message
Affects any error that requires interaction
Msal Logs
N/A
MSAL Configuration
Relevant Code Snippets
https://github.com/AzureAD/microsoft-authentication-library-for-js/blob/dev/lib/msal-angular/src/msal.interceptor.ts#L207
Reproduction Steps
Cause any error that requires interaction
Expected Behavior
User should be redirected
Identity Provider
Azure AD / MSA
Browsers Affected (Select all that apply)
Chrome, Edge, Safari
Regression
No response
Source
External (Customer)
The text was updated successfully, but these errors were encountered: