pypi / msal
msal
What changed in msal 1, from its official release notes, upgrade guides and advisories. Sources checked 2026-12-05.
4 breaking6 security1 deprecations5 new APIs and options6 behavior and defaults6 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initmsal 128 changes
Breaking changes 4
The broker is disabled on Intel-based Macs.
decode_id_token is deprecated, and ID tokens are no longer validated.
Support for Python 3.8 was removed.
The unsafe PowerShell fallback in WSL has been removed.
Security 6
URLs are sanitized.
Regional authority validation now checks the region string format before URL construction and is hardened.
Service Fabric managed identity TLS is pinned.
The username parameter is escaped.
Fixes OIDC issuer domain spoofing in B2C host validation.
Uses cryptographically secure randomness for PKCE, state, and nonce generation.
Deprecations 1
ROPC is deprecated, so developers should avoid relying on it for new authentication flows.
New APIs and options 5
Confidential client flows now support forwarded_client_claims.
Adds support for the User Federated Identity Credential grant type.
Added the withFmi method for cca app.
System browser authentication now supports the form_post response mode.
OIDC issuer validation is now supported.
Behavior and default changes 6
Azure Arc managed identity requests can forward user-assigned identity selectors.
Region discovery now uses the IMDS /compute JSON endpoint.
MSAL client metadata headers are forwarded through IMDS to ESTS.
macOS broker silent flows use an unsigned redirect URI.
A certificate thumbprint is now optional when using a certificate.
The MSAL Python API surface is now stable and production ready.
Fixes and other changes 6
Fixes Azure Arc errors returned before the authentication challenge.
Fixes false positives on systemd cgroups v2 hosts.
Fixes compatibility with Service Fabric HTTPAdapter subclasses.
Instance discovery remains cloud local on known clouds.
The redirect URI is set for broker silent flow on Linux.
Python 3.14 is supported.