app.unpkg.com

msal - UNPKG

Updated 12/11/2025

Excerpt

1. [What are the differences between supported audiences and account types?](#what-are-the-differences-between-supported-audiences-and-account-types) **[B2C](#b2c)** 1. [My B2C application has more than one user-flow/policy. How do I work with multiple policies in MSAL.js?](#my-b2c-application-has-more-than-one-user-flowpolicy-how-do-i-work-with-multiple-policies-in-msaljs) 1. [How can I implement password reset user flow in my B2C application with MSAL.js?](#how-can-i-implement-password-reset-user-flow-in-my-b2c-application-with-msaljs) 1. [I logged out of my application. Why am I not asked for credentials when I try to log back in?](#i-logged-out-of-my-application-why-am-i-not-asked-for-credentials-when-i-try-to-log-back-in) … [using MSAL.js with IE](https://github.com/AzureAD/microsoft-authentication-library-for-js/wiki/Using-msal.js-with-Internet-Explorer). There are certain known issues and mitigations documented for Safari, IE and Edge. ... MSAL.js integrates with the Azure AD v2.0 endpoint, whereas ADAL.js integrates with the Azure AD v1.0 endpoint. The v1.0 endpoint supports work and school accounts, but not personal Microsoft accounts. The v2.0 endpoint combines work, school and personal Microsoft accounts into a single authentication system. Additionally, with MSAL.js you can also achieve authentication for Azure AD B2C. … Obtaining a cached access token via `acquireTokenSilent` is still possible, however, if the token is expired the service will throw an "X-Frame Options DENY" error when MSAL attempts to renew it. When this happens your application must catch this error and fallback to calling an interactive method (`acquireTokenRedirect` or `acquireTokenPopup`) ## How can I implement password reset user flow in my B2C application with MSAL.js? … An example flow can be seen in the [working with B2C](https://github.com/AzureAD/microsoft-authentication-library-for-js/blob/dev/lib/msal-browser/docs/working-with-b2c.md) doc. # Common Issues ## How to avoid page reloads when acquiring and renewing tokens silently? MSAL.js uses hidden iframes to acquire and renew tokens silently in the background. … Redirect loops occur most commonly when an app automatically triggers a `loginRedirect` call on page load. Your app should first verify a user is signed-in before attempting to login. ```javascript if (!msalObj.getAccount()) { msalObj.loginRedirect(request); } else { // User signed in! } ``` ### Solutions - If using msal-angular and your app relies on the broadcast events, ensure your app calls `handleRedirectCallback()` on the page that handles the response containing the token. - Set `navigateToLoginRequestUrl: false` in your msal config.

Source URL

https://app.unpkg.com/msal@1.4.4/files/docs/FAQ.md

Related Pain Points