@azure/msal-browser breaking changes
Updated December 4, 2026
On this page
Latest version 5.31.0, released December 2, 2026. Source repository
Packages on npm run on Node.js. Node.js end of life dates.
- From 4.0.1 to 5.30.0: 258 breaking changes in 28 versions.
- From 3.0.0 to 5.30.0: 269 breaking changes in 29 versions.
@azure/msal-browser 5.30.0 breaking changes
- Signature changed
BrowserAuthOptions
Was type BrowserAuthOptions = {clientId: string; authority?: string; knownAuthorities?: Array<string>; cloudDiscoveryMetadata?: string; authorityMetadata?: string; redirectUri?: string; postLogoutRedirectUri?: string | null... npmjs.com - Signature changed
BrowserExperimentalOptions
Was type BrowserExperimentalOptions = {iframeTimeoutTelemetry?: boolean; allowPlatformBrokerWithDOM?: boolean;}; now type BrowserExperimentalOptions = {enableAsymmetricEar?: boolean; iframeTimeoutTelemetry?: boolean... npmjs.com - Signature changed
popup-relay:PopupRelayOptions
Was type PopupRelayOptions = {popupWindowAttributes?: PopupWindowAttributes; timeoutMs?: number; allowedAuthorityOrigins?: string[];}; now type PopupRelayOptions = {protocolVersion?: 1 | 2; popupWindowAttributes?: PopupWindowAttributes... npmjs.com - Signature changed
PopupRequest
Was type PopupRequest = Partial<Omit<CommonAuthorizationUrlRequest, "responseMode" | "scopes" | "earJwk" | "codeChallenge" | "codeChallengeMethod" | "platformBroker">> & {scopes: Array<string>; popupWindowAttributes?... npmjs.com - Signature changed
RedirectRequest
Was type RedirectRequest = Partial<Omit<CommonAuthorizationUrlRequest, "responseMode" | "scopes" | "earJwk" | "codeChallenge" | "codeChallengeMethod" | "platformBroker">> & {scopes: Array<string>; redirectStartPage?: string;}; now type... npmjs.com - Signature changed
SsoSilentRequest
Was type SsoSilentRequest = Partial<Omit<CommonAuthorizationUrlRequest, "responseMode" | "earJwk" | "codeChallenge" | "codeChallengeMethod" | "platformBroker">>; now type SsoSilentRequest = Partial<Omit<CommonAuthorizationUrlRequest... npmjs.com
@azure/msal-browser 5.29.0 breaking changes
- Removed
Obsolete Native Auth V2 error helpers were removed. Code that imports them must stop using them. github.com - Removed
custom-auth:AttributesRequiredStateV2.submitAttributesAction
AttributesRequiredStateV2.submitAttributesAction was removed in @azure/msal-browser 5.29.0 npmjs.com - Removed
custom-auth:AuthFlowErrorV2.isInvalidCredentials
AuthFlowErrorV2.isInvalidCredentials was removed in @azure/msal-browser 5.29.0 npmjs.com - Removed
custom-auth:AuthFlowErrorV2.isMissingRequiredAttributes
AuthFlowErrorV2.isMissingRequiredAttributes was removed in @azure/msal-browser 5.29.0 npmjs.com - Removed
custom-auth:AuthFlowErrorV2.isUserAlreadyExists
AuthFlowErrorV2.isUserAlreadyExists was removed in @azure/msal-browser 5.29.0 npmjs.com - Removed
custom-auth:MFAResendChallengeResultStateV2
MFAResendChallengeResultStateV2 was removed in @azure/msal-browser 5.29.0 npmjs.com - Removed
custom-auth:MFAResendChallengeResultV2
MFAResendChallengeResultV2 was removed in @azure/msal-browser 5.29.0 npmjs.com - Removed
custom-auth:ResendCodeResultStateV2
ResendCodeResultStateV2 was removed in @azure/msal-browser 5.29.0 npmjs.com - Removed
custom-auth:ResendCodeResultV2
ResendCodeResultV2 was removed in @azure/msal-browser 5.29.0 npmjs.com - Removed
custom-auth:SignInInputsV2.password
SignInInputsV2.password was removed in @azure/msal-browser 5.29.0 npmjs.com
And 28 more in this version. Sign up to see every change
@azure/msal-browser 5.28.0 breaking changes
- Signature changed
custom-auth:CodeRequiredStateV2.resendCodeCore
Was protected resendCodeCore(): Promise<FlowCodeRequiredResultV2>; now protected resendCodeCore(authenticationFactor?: AuthenticationFactorV2): Promise<FlowCodeRequiredResultV2>. npmjs.com - Signature changed
custom-auth:CodeRequiredStateV2.submitCodeCore
Was protected submitCodeCore(code: string): Promise<FlowSubmitCodeResultV2>; now protected submitCodeCore(code: string, authenticationFactor?: AuthenticationFactorV2): Promise<FlowSubmitCodeResultV2>. npmjs.com - Signature changed
custom-auth:MFAVerificationRequiredStateV2.resendCodeCore
Was protected resendCodeCore(): Promise<FlowCodeRequiredResultV2>; now protected resendCodeCore(authenticationFactor?: AuthenticationFactorV2): Promise<FlowCodeRequiredResultV2>. npmjs.com - Signature changed
custom-auth:MFAVerificationRequiredStateV2.submitCodeCore
Was protected submitCodeCore(code: string): Promise<FlowSubmitCodeResultV2>; now protected submitCodeCore(code: string, authenticationFactor?: AuthenticationFactorV2): Promise<FlowSubmitCodeResultV2>. npmjs.com - Signature changed
custom-auth:SignInStartResultStateV2
Was type SignInStartResultStateV2 = PasswordRequiredStateV2 | CodeRequiredStateV2 | AuthMethodSelectionRequiredStateV2 | CompletedStateV2 | FailedStateV2; now type SignInStartResultStateV2 = PasswordRequiredStateV2 | CodeRequiredStateV2 |... npmjs.com - Signature changed
custom-auth:SubmitAttributesResultStateV2
Was type SubmitAttributesResultStateV2 = CodeRequiredStateV2 | SignInContinuationStateV2 | FailedStateV2; now type SubmitAttributesResultStateV2 = CodeRequiredStateV2 | SignInContinuationStateV2 | AuthMethodRegistrationRequiredStateV2 |... npmjs.com - Signature changed
custom-auth:SubmitNewPasswordResultStateV2
Was type SubmitNewPasswordResultStateV2 = SignInContinuationStateV2 | FailedStateV2; now type SubmitNewPasswordResultStateV2 = SignInContinuationStateV2 | AuthMethodRegistrationRequiredStateV2 | FailedStateV2. npmjs.com - Signature changed
custom-auth:SubmitPasswordResultStateV2
Was type SubmitPasswordResultStateV2 = CompletedStateV2 | AuthMethodSelectionRequiredStateV2 | FailedStateV2; now type SubmitPasswordResultStateV2 = CompletedStateV2 | AuthMethodSelectionRequiredStateV2 |... npmjs.com - Signature changed
custom-auth:VerifyChallengeResultStateV2
Was type VerifyChallengeResultStateV2 = NewPasswordRequiredStateV2 | SignUpPasswordRequiredStateV2 | AttributesRequiredStateV2 | SignInContinuationStateV2 | AuthMethodSelectionRequiredStateV2 | CompletedStateV2 | FailedStateV2; now type... npmjs.com
@azure/msal-browser 5.27.0 breaking changes
- Signature changed
BrowserAuthOptions
Was type BrowserAuthOptions = {clientId: string; authority?: string; knownAuthorities?: Array<string>; cloudDiscoveryMetadata?: string; authorityMetadata?: string; redirectUri?: string; postLogoutRedirectUri?: string | null... npmjs.com - Signature changed
BrowserSystemOptions
Was type BrowserSystemOptions = SystemOptions & {loggerOptions?: LoggerOptions; networkClient?: INetworkModule; navigationClient?: INavigationClient; popupBridgeTimeout?: number; iframeBridgeTimeout?: number; redirectNavigationTimeout?... npmjs.com
@azure/msal-browser 5.26.0 breaking changes
- Removed
custom-auth:AuthMethodSelectionRequiredStateV2.requestSelectedMethodChallenge
AuthMethodSelectionRequiredStateV2.requestSelectedMethodChallenge was removed in @azure/msal-browser 5.26.0 npmjs.com - Removed
custom-auth:MFARequestChallengeResultStateV2
MFARequestChallengeResultStateV2 was removed in @azure/msal-browser 5.26.0 npmjs.com - Removed
custom-auth:MFARequestChallengeResultV2
MFARequestChallengeResultV2 was removed in @azure/msal-browser 5.26.0 npmjs.com - Removed
custom-auth:MFARequiredStateV2
MFARequiredStateV2 was removed in @azure/msal-browser 5.26.0 npmjs.com - Removed
custom-auth:RequestChallengeErrorV2
RequestChallengeErrorV2 was removed in @azure/msal-browser 5.26.0 npmjs.com - Removed
custom-auth:ResetPasswordStartErrorV2
ResetPasswordStartErrorV2 was removed in @azure/msal-browser 5.26.0 npmjs.com - Removed
custom-auth:SignInContinuationErrorV2
SignInContinuationErrorV2 was removed in @azure/msal-browser 5.26.0 npmjs.com - Removed
custom-auth:SignInContinuationInputsV2
SignInContinuationInputsV2 was removed in @azure/msal-browser 5.26.0 npmjs.com - Removed
custom-auth:SignInStartErrorV2
SignInStartErrorV2 was removed in @azure/msal-browser 5.26.0 npmjs.com - Removed
custom-auth:SignUpStartErrorV2
SignUpStartErrorV2 was removed in @azure/msal-browser 5.26.0 npmjs.com
And 43 more in this version. Sign up to see every change
@azure/msal-browser 5.23.0 breaking changes
- Signature changed
custom-auth:CustomAuthApiError.constructor
Was constructor(error: string, errorDescription: string, correlationId?: string, errorCodes?: Array<number>, subError?: string, attributes?: UserAttribute[] | undefined, continuationToken?: string | undefined, traceId?: string | undefined... npmjs.com - Signature changed
custom-auth:CustomAuthPublicClientApplication
Was class CustomAuthPublicClientApplication extends PublicClientApplication implements ICustomAuthPublicClientApplication; now class CustomAuthPublicClientApplication extends PublicClientApplication implements... npmjs.com - Signature changed
custom-auth:CustomAuthPublicClientApplication.create
Was static create(config: CustomAuthConfiguration): Promise<ICustomAuthPublicClientApplication>; now static create(config: CustomAuthConfiguration): Promise<ICustomAuthPublicClientApplicationV2>. npmjs.com
Older versions
24 older versions, each with its first changes. Sign up to see every change
Show 24 older versions
@azure/msal-browser 5.22.0 breaking changes
- Renamed
IWebBrokerBridgeMessage
Use IWebBrokerBridgeMessage instead. npmjs.com
@azure/msal-browser 5.21.0 breaking changes
- Behavior changed
runPopupRelay
runPopupRelay checks the relayed request before navigating, so requests it previously accepted may now be rejected. A new optional allowedAuthorityOrigins setting can pin which authority origins are allowed. github.com - Signature changed
popup-relay:PopupRelayOptions
Was type PopupRelayOptions = {popupWindowAttributes?: PopupWindowAttributes; timeoutMs?: number;}; now type PopupRelayOptions = {popupWindowAttributes?: PopupWindowAttributes; timeoutMs?: number; allowedAuthorityOrigins?: string[];}. npmjs.com
@azure/msal-browser 5.20.0 breaking changes
- Signature changed
AuthenticationScheme
Was const AuthenticationScheme: {readonly BEARER: "Bearer"; readonly POP: "pop"; readonly SSH: "ssh-cert";}; now const AuthenticationScheme: {readonly BEARER: "Bearer"; readonly POP: "pop"; readonly DPOP: "DPoP"; readonly SSH: "ssh-cert";}. npmjs.com
@azure/msal-browser 5.19.0 breaking changes
- Signature changed
JsonWebTokenTypes
Was const JsonWebTokenTypes: {readonly Jwt: "JWT"; readonly Jwk: "JWK"; readonly Pop: "pop";}; now const JsonWebTokenTypes: {readonly Jwt: "JWT"; readonly Jwk: "JWK"; readonly Pop: "pop"; readonly Dpop: "dpop+jwt";}. npmjs.com
@azure/msal-browser 5.17.0 breaking changes
- Signature changed
BrowserAuthOptions
Was type BrowserAuthOptions = {clientId: string; authority?: string; knownAuthorities?: Array<string>; cloudDiscoveryMetadata?: string; authorityMetadata?: string; redirectUri?: string; postLogoutRedirectUri?: string | null... npmjs.com
@azure/msal-browser 5.15.0 breaking changes
- Removed
BrowserUtils.addClientCapabilitiesToClaims
BrowserUtils.addClientCapabilitiesToClaims was removed in @azure/msal-browser 5.15.0 npmjs.com - Default changed
Requests now ask for signin_state and login_hint idToken claims by default, and AccountInfo gains kmsi. Check code that depends on the exact token claims or request parameters. github.com
And 4 more in this version.
@azure/msal-browser 5.13.0 breaking changes
- Default changed
ServerTelemetryManager is off by default in this release. Code that depended on server telemetry being on must enable it explicitly. github.com - Signature changed
BrowserSystemOptions
Was type BrowserSystemOptions = SystemOptions & {loggerOptions?: LoggerOptions; networkClient?: INetworkModule; navigationClient?: INavigationClient; popupBridgeTimeout?: number; iframeBridgeTimeout?: number; redirectNavigationTimeout?... npmjs.com
@azure/msal-browser 5.12.0 breaking changes
- Renamed
uxNotAllowed
The error code uxNotAllowed was renamed to uiNotAllowed. Code that compares against uxNotAllowed must switch to uiNotAllowed. github.com - Signature changed
BrowserUtils.waitForBridgeResponse
Was function waitForBridgeResponse(timeoutMs: number, logger: Logger, browserCrypto: ICrypto, request: CommonAuthorizationUrlRequest | CommonEndSessionRequest, performanceClient: IPerformanceClient, experimentalConfig?... npmjs.com
@azure/msal-browser 5.11.0 breaking changes
- Signature changed
BrowserExperimentalOptions
Was type BrowserExperimentalOptions = {iframeTimeoutTelemetry?: boolean;}; now type BrowserExperimentalOptions = {iframeTimeoutTelemetry?: boolean; allowPlatformBrokerWithDOM?: boolean;}. npmjs.com - Signature changed
isPlatformBrokerAvailable
Was function isPlatformBrokerAvailable(loggerOptions?: LoggerOptions, perfClient?: IPerformanceClient, correlationId?: string): Promise<boolean>; now function isPlatformBrokerAvailable(domConfig: boolean, loggerOptions?: LoggerOptions... npmjs.com
@azure/msal-browser 5.10.0 breaking changes
- Behavior changed
The library no longer looks in localStorage for temporary cache entries. Code that relies on temporary cache values being found in localStorage must change how it stores or reads them. github.com
@azure/msal-browser 5.9.1 breaking changes
- Behavior changed
Storage events originating from a different client ID are ignored by the package. Code relying on those events being processed must account for this. github.com
@azure/msal-browser 5.9.0 breaking changes
- Behavior changed
Native auth token requests use client_info=1 instead of the previous value. Check any server-side or custom handling that depends on the old client_info value. github.com
@azure/msal-browser 5.8.0 breaking changes
- Signature changed
custom-auth:UserAccountAttributes
Was type UserAccountAttributes = Record<string, string> & {city?: string; country?: string; displayName?: string; givenName?: string; jobTitle?: string; postalCode?: string; state?: string; streetAddress?: string; surname?: string;}; now... npmjs.com
@azure/msal-browser 5.7.0 breaking changes
- Signature changed
BrowserAuthOptions
Was type BrowserAuthOptions = {clientId: string; authority?: string; knownAuthorities?: Array<string>; cloudDiscoveryMetadata?: string; authorityMetadata?: string; redirectUri?: string; postLogoutRedirectUri?: string | null... npmjs.com
@azure/msal-browser 5.6.3 breaking changes
- Signature changed
BrowserConfiguration
Was type BrowserConfiguration = {auth: InternalAuthOptions; cache: Required<CacheOptions>; system: Required<BrowserSystemOptions>; telemetry: Required<BrowserTelemetryOptions>;}; now type BrowserConfiguration = {auth: InternalAuthOptions... npmjs.com - Signature changed
BrowserUtils.waitForBridgeResponse
Was function waitForBridgeResponse(timeoutMs: number, logger: Logger, browserCrypto: ICrypto, request: CommonAuthorizationUrlRequest | CommonEndSessionRequest, performanceClient: IPerformanceClient): Promise<string>; now function... npmjs.com
And 1 more in this version.
@azure/msal-browser 5.6.2 breaking changes
- Behavior changed
After a redirect, the auth response is cached in sessionStorage and the browser navigates to the origin URL without auth parameters. Code that reads auth parameters from the URL after redirect must read the cached response instead. github.com
@azure/msal-browser 5.5.0 breaking changes
- Signature changed
BrowserAuthOptions
Was type BrowserAuthOptions = {clientId: string; authority?: string; knownAuthorities?: Array<string>; cloudDiscoveryMetadata?: string; authorityMetadata?: string; redirectUri?: string; postLogoutRedirectUri?: string | null... npmjs.com - Signature changed
BrowserUtils.waitForBridgeResponse
Was function waitForBridgeResponse(timeoutMs: number, logger: Logger, browserCrypto: ICrypto, request: CommonAuthorizationUrlRequest | CommonEndSessionRequest): Promise<string>; now function waitForBridgeResponse(timeoutMs: number, logger... npmjs.com
@azure/msal-browser 5.2.0 breaking changes
- Signature changed
EventHandler.emitEvent
Was emitEvent(eventType: EventType, interactionType?: InteractionType, payload?: EventPayload, error?: EventError): void; now emitEvent(eventType: EventType, correlationId: string, interactionType?: InteractionType, payload?: EventPayload... npmjs.com - Signature changed
EventMessage
Was type EventMessage = {eventType: EventType; interactionType: InteractionType | null; payload: EventPayload; error: EventError; timestamp: number;}; now type EventMessage = {eventType: EventType; interactionType: InteractionType | null... npmjs.com
@azure/msal-browser 5.1.0 breaking changes
- Signature changed
ApiId
Was const ApiId: {readonly acquireTokenRedirect: 861; readonly acquireTokenPopup: 862; readonly ssoSilent: 863; readonly acquireTokenSilent_authCode: 864; readonly handleRedirectPromise: 865; readonly acquireTokenByCode: 866; readonly... npmjs.com
@azure/msal-browser 5.0.2 breaking changes
- Removed
Previously deprecated functions and parameters are removed. Code that still uses them will break. github.com - Removed
AccountEntity
AccountEntity is no longer exported from the package. Imports of it will fail. github.com
And 15 more in this version.
@azure/msal-browser 5.0.1 breaking changes
- Removed
AccountEntity
AccountEntity was removed in @azure/msal-browser 5.0.1 npmjs.com - Removed
AuthErrorMessage
AuthErrorMessage was removed in @azure/msal-browser 5.0.1 npmjs.com
And 86 more in this version.
@azure/msal-browser 5.0.0-alpha.0 breaking changes
- Removed
BrowserAuthOptions.encodeExtraQueryParams
The encodeExtraQueryParams config option was removed. Code that sets it must stop setting it. npmjs.com - Removed
BrowserAuthOptions.navigateToLoginRequestUrl
navigateToLoginRequestUrl moved from the configuration to the request config. Pass it per request instead. npmjs.com
And 8 more in this version.
@azure/msal-browser 4.0.1 breaking changes
- Removed
BrowserStorage
BrowserStorage was removed in @azure/msal-browser 4.0.1 npmjs.com - Renamed
allowNativeBroker
Update the system configuration to use allowPlatformBroker instead of allowNativeBroker to keep device bound token support. github.com
And 9 more in this version.
@azure/msal-browser 3.0.0 breaking changes
- Removed
The legacy MsCrypto and MsrCrypto polyfills were removed from the package to reduce bundle size. Code that relied on them must supply its own crypto support. github.com - Removed
ApiId.acquireTokenByCode
ApiId.acquireTokenByCode was removed in @azure/msal-browser 3.0.0 npmjs.com
And 133 more in this version.
Related packages
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.