Msal v2 httpInterceptor doesn't work properly
Msal v2 httpInterceptor doesn't work properly
Thanks for reaching out.
MSAL Angular provides an Interceptor that automatically acquires and handle tokens that use the Angular http client to known protected resources.
In the Msal Interceptor make sure to configure the protected resources and the corresponding scopes in the protectedResourceMap correctly to get the token for required audience.
Refer the below sample to setup MSAL Interceptor
Could you please elaborate what scopes you are setting and the error you are getting while acquiring the token?
Thanks,
Shweta
Please remember to "Accept Answer" if answer helped you.
Hi @MirzaevTakhir-2048 Just wanted to check, Are you able to resolve your issue?
3 people are following this question.
Getting more info on Azure AD Applications
Export the User Attributes & Claims for Azure servicePrinciple (SAML App)
My apps secure sign-in extension is no longer supported on Firefox?
Outlook account setup using Azure AD P1 license
Architecture Question: Best way to secure different resources behind an API exposed via AzureAD