Skip to content

Releases: AzureAD/microsoft-identity-web

4.14.2

Choose a tag to compare

@gladjohn gladjohn released this 30 Jul 17:45
7f5a0b5

Dependencies updates

  • Bump the Microsoft.IdentityModel.* (Wilson) version to 8.22.0. See #3986.
  • Fix the net8.0 crypto floor to use the patched System.Security.Cryptography.Xml 8.0.4 (and its System.Security.Cryptography.Pkcs 8.0.1 dependency) instead of over-bumping to the 9.0.18 servicing line (CVE-2026-47302, -47304, -50525, -50648). net9.0 (9.0.18) and net10.0 (10.0.10) are unchanged. See #3989.

4.14.0

Choose a tag to compare

@neha-bhargava neha-bhargava released this 27 Jul 20:06
dc242d6

New features

  • Add MicrosoftIdentityOptions.PartitionAppTokenCacheByAudience to partition the app token cache by resource/audience. See #3979.
  • Expose MSAL's background token-refresh callback through Id.Web via TokenAcquisitionExtensionOptions.OnBackgroundTokenRefreshCompleted. See #3973.
  • Add MicrosoftIdentityOptions.UseFastUnboundedCache; stop short-circuiting the in-memory token cache serialization provider. See #3970.
  • OIDC FIC (Microsoft.Identity.Web.OidcFIC) now supports mTLS token binding. See #3851.

Bug fixes

  • Token binding: the CCA cache key now distinguishes a bound credential (UseBoundCredential = true) from its unbound equivalent; the certificate-error retry path invalidates the cache entry for the actual request mode (bearer vs mTLS PoP).
  • Forward the OpenTelemetry tags enricher onto the inner FIC client-assertion leg. See #3968.

Dependencies updates

  • Microsoft.Identity.Client → 4.87.0 (#3975)
  • Microsoft.Identity.Abstractions → 12.6.0 (#3976)
  • System.Security.Cryptography.Xml / System.Security.Cryptography.Pkcs → patched (CVE-2026-47302, -47304, -50525, -50648) (#3964)
  • notsecurity group: 1 update (#3965)

Full changelog: 4.13.2...4.14.0

4.13.2

Choose a tag to compare

@neha-bhargava neha-bhargava released this 16 Jul 21:47
bd0791c

What's Changed

Full Changelog: 4.13.0...4.13.2

4.13.0

Choose a tag to compare

@neha-bhargava neha-bhargava released this 10 Jul 06:28
f6d7aef

What's Changed

Full Changelog: 4.12.2...4.13.0

4.12.2

Choose a tag to compare

@gladjohn gladjohn released this 03 Jul 15:51
1253aee

Bug fixes

  • Make the Microsoft.Identity.Client.KeyAttestation dependency conditional on modern .NET (.NETCoreApp) targets. It transitively pulls the native-only Microsoft.Azure.Security.KeyGuardAttestation package, which ships no .NET Framework/netstandard-compatible assets and broke NuGet restore for .NET Framework (packages.config) projects. Microsoft.Identity.Web.Certificateless now multi-targets, and .NET Framework consumers use the netstandard2.0 asset without this dependency. See #3894.

4.12.1

Choose a tag to compare

@gladjohn gladjohn released this 03 Jul 13:46
5c00e04

Bug fixes

  • Preserve ManagedIdentity when converting AcquireTokenOptions to TokenAcquisitionOptions in TokenAcquirer. Previously the ITokenAcquirer.GetTokenForAppAsync / GetTokenForUserAsync paths silently dropped ManagedIdentity and fell back to the confidential-client path, breaking managed-identity mTLS PoP (e.g. MISE Native). See #3914.

Behavior changes

  • Sidecar: outbound HTTP redirects suppressed by default. The sidecar no longer follows outbound HTTP redirects; a new opt-in Sidecar:AllowOutboundRedirects flag (default false) restores the previous behavior. See #3906.
  • Sidecar: per-request isolation of downstream API options. Downstream API options resolved from the singleton IOptionsMonitor are now cloned per request (including fresh ExtraParameters / ExtraHeaderParameters / ExtraQueryParameters dictionaries), preventing request-scoped values from leaking across requests or racing under concurrency. See #3919.

Fundamentals

  • Build the solution in the PR pipeline before running tests. See #3911.
  • Restore OWIN 5.7.1 packages from the internal IDDP feed in the PR pipeline. See #3912.
  • Run the PR pipeline on the Wilson pool so integration/E2E tests can access the lab KeyVault. See #3913.

4.12.0

Choose a tag to compare

@iarekk iarekk released this 03 Jul 13:34
b192389

New features

  • Implement IAuthorizationHeaderProvider2 (from Microsoft.Identity.Abstractions 12.3.0) on DefaultAuthorizationHeaderProvider and the public BaseAuthorizationHeaderProvider, exposing the metadata-rich CreateAuthorizationHeaderInformation* surface (returning OperationResult<AuthorizationHeaderInformation, AuthorizationHeaderError>) with binding-certificate propagation. DownstreamApi and MicrosoftIdentityMessageHandler now prefer IAuthorizationHeaderProvider2 for mTLS PoP and soft-deprecate the bound-only IBoundAuthorizationHeaderProvider path (kept as a fallback for source/binary compatibility). See #3899.
  • Populate TokenAcquisitionMetadata.ExpiresOn on AcquireTokenResult from the MSAL AuthenticationResult.ExpiresOn value. See #3905.

Bug fixes

  • Finalize the DownstreamApi request (headers, query parameters, content, and customizations) before creating the authorization header, adding Authorization only after signing so request-binding providers do not include it in their signed material. See #3902.

Dependencies updates

  • Update Microsoft.Identity.Abstractions to 12.4.0. See #3899, #3905.
  • Update MSAL.NET (Microsoft.Identity.Client / Microsoft.Identity.Client.KeyAttestation) to 4.85.2. See #3896.
  • Update Microsoft.IdentityModel.Protocols.WsFederation (Microsoft.Identity.Web.OWIN) to 5.7.1. See #3900.

4.11.0

Choose a tag to compare

@neha-bhargava neha-bhargava released this 23 Jun 23:01
72f20d1

What's Changed

New Contributors

Full Changelog: 4.10.0...4.11.0

3.15.1

Choose a tag to compare

@cpp11nullptr cpp11nullptr released this 08 Jun 19:55
ce7b264

Bug fixes

  • Improve User Agent processing in cookie policy extensions. See PR #3824 for details.
  • Use LRU cache for issuer address in B2C OpenID Connect event handler to improve performance. See PR #3823 for details.

Dependencies updates

  • Pin Microsoft.Kiota.Abstractions to 1.22.0 for GraphServiceClient, fixing NU1903 build break caused by the GHSA-7j59-v9qr-6fq9 advisory. See PR #3818 for details.
  • Pin Microsoft.Kiota.Abstractions to 1.22.0 for GraphServiceClientBeta, fixing the same advisory. See PR #3827 for details.

Fundamentals

  • Migrate tests to Lab.API 2.x. See PR #3837 for details.
  • Fix web UI tests. See PR #3838 for details.

4.10.0

Choose a tag to compare

@cpp11nullptr cpp11nullptr released this 25 May 17:32
679f66b

New features

  • Add WithExtraBodyParameters fluent API for attaching extra body parameters to token acquisition requests. See #3819.
  • Add IConfidentialClientApplicationProvider extensibility interface and CachePartitionKey support for silent token acquisition. See #3822.

Bug fixes

  • Redirect URI sanitization in authorization scenarios; centralize redirect URI validation in a shared helper. See #3825.
  • Reject dSTS-shaped Authority values with a clearer exception, steering users to use Instance + TenantId instead. See #3805.
  • Improve regex handling and adding length/timeout safeguards for SameSite User Agent. See #3811.

Behavior changes

  • B2C OpenID Connect event handler: LRU cache for issuer address. Issuer address lookups in the B2C OIDC event handler are now cached with an LRU cache, improving performance for repeated lookups. See #3821.

Dependencies updates

  • Update MSAL.NET to 4.84.1. See #3822.
  • Pin Microsoft.Kiota.Abstractions to 1.22.0 for GraphServiceClient. See #3817.
  • Bump uuid and @azure/msal-node in SidecarAdapter TypeScript test app. See #3826.
  • Bump qs in SidecarAdapter TypeScript test app. See #3829.