Skip to content

Releases: AzureAD/microsoft-authentication-library-for-dotnet

4.87.0

Choose a tag to compare

@neha-bhargava neha-bhargava released this 24 Jul 22:04
39d2001

What's Changed

  • Expose MsalServiceException.ErrorCodesForLogging for diagnostics in #6138
  • Expose WithOtelTagsEnricher for managed identity requests in #6144
  • Forward OpenTelemetry tags enricher to the client-assertion callback in #6142
  • Add client-side opaque-token log scrubber in #6119
  • Populate ExecutionResult.Exception for non-MSAL failures in #6139
  • Use PSS padding in KeyGuard liveness probe (CodeQL SM03799) in #6141
  • Remove managed identity support from WithClaimsFromClient (confidential-client only) in #6113
  • Remove experimental features from client setup in #6143
  • Update Azure Arc managed identity API version from 2019-11-01 to 2020-06-01 in #6130

Full Changelog: 4.86.1...4.87.0

4.86.1

Choose a tag to compare

@gladjohn gladjohn released this 16 Jul 00:23
d1ac9d0

Bug Fixes

  • Fixed the mTLS Proof-of-Possession token cache to key on the certificate's full DER (x5t#S256) instead of only the public key, preventing a stale token (and AADSTS500181) after a same-key certificate renewal. #6123
  • Fell back to RS256 when a certificate's PSS signing operation is rejected by RSACryptoServiceProvider, rebuilding the client assertion so authentication can proceed. #6126
  • Detect and reject symbolic links in the Unix cache-file write path (lstat pre-check plus O_NOFOLLOW), closing a TOCTOU window. #6115
  • Corrected misleading "region required" error messages and doc comments in the mTLS PoP flow. #6127

4.86.0

Choose a tag to compare

@neha-bhargava neha-bhargava released this 08 Jul 23:57
daeb6cc

What's Changed

  • Propagate KeyGuard attestation failures and bridge native MAA logs to the MSAL logger by @gladjohn in #6081
  • Token Binding Demo Helper by @gladjohn in #6097
  • Include ManagedIdentitySource in managed identity error messages and request-failure logs by @Robbie-Microsoft in #6101
  • Remove Mooncake (AzureChinaCloud) lab client from WAM dev apps by @RyAuld in #6103
  • Surface token-acquisition failure metadata on MsalException by @neha-bhargava in #6096
  • Skip IMDS lookup for explicit regions by @4gust in #6092
  • Fix region failure-metadata test broken by explicit-region IMDS skip by @neha-bhargava in #6105

Full Changelog: 4.85.2...4.86.0

4.85.2

Choose a tag to compare

@bgavrilMS bgavrilMS released this 26 Jun 13:23
a06df82

What's Changed

  • Delegate IMDSv2 mTLS-PoP token leg to internal TokenClient exchange (MSIv2 WithClaimsFromClient) by @Robbie-Microsoft in #6070
  • Enforce mTLS PoP minimum binding strength for Managed Identity (#6049 Phase 2) by @Robbie-Microsoft in #6059
  • Add refresh token cache partitioning support by @iNinja in #6077
  • Detach ImdsV2ManagedIdentitySource from AbstractManagedIdentity (refused-bequest cleanup) by @Robbie-Microsoft in #6089

Full Changelog: 4.85.1...4.85.2

4.85.1

Choose a tag to compare

@neha-bhargava neha-bhargava released this 23 Jun 06:24
ba41658

What's Changed

  • Migrate OBO tests from old lab to ID4SLAB1 by @RyAuld in #6021
  • Mark regional SNI mTLS PoP test inconclusive on AAD test-slice Bearer downgrade by @neha-bhargava in #6084
  • Expose canonical tag names per-metric by @ssmelov in #6076

Full Changelog: 4.85.0...4.85.1

4.85.0

Choose a tag to compare

@neha-bhargava neha-bhargava released this 19 Jun 05:26
843ad43

What's Changed

New Contributors

Full Changelog: 4.84.2...4.85.0

4.84.2

Choose a tag to compare

@gladjohn gladjohn released this 05 Jun 15:42
9a8a703

New Features

  • Added ManagedIdentityApplication.GetManagedIdentityCapabilitiesAsync(CancellationToken) returning a ManagedIdentityCapabilities object that reports the detected managed identity Source, the host's MaxSupportedBindingStrength (new MtlsBindingStrength enum: None, Software, KeyGuard), and a derived IsMtlsPopSupportedByHost. Replaces GetManagedIdentitySourceAsync()/ManagedIdentitySourceResult. The public ManagedIdentitySource.ImdsV2 value is folded into Imds (v1/v2 routing remains internal). #6049
  • Added OID-based user identification to the User Federated Identity Credential (user_fic) flow via AcquireTokenByUserFederatedIdentityCredential(scopes, Guid userObjectId, assertion). #6050
  • Added WithClaimsFromClient(claimsJson) to forward client-originated claims across managed identity and confidential client flows. #5999
  • Added mTLS PoP support for WithCertificate(() => x509) (dynamic certificate credential). #5957
  • Added opt-in token-acquisition metrics covering both successful and failed attempts. #6004

Changes

  • Extended mTLS bearer transport (CertificateOptions.SendCertificateOverMtls) to the OBO, refresh-token, and authorization-code flows. #6009
  • General Availability of the Microsoft.Identity.Client.KeyAttestation package. #6038
  • Managed identity now probes IMDSv2 first and the preview latch was removed. #6041
  • Updated NativeInterop baseline and corrected devapp version ranges. #6045
  • Simplified GetTenantedAuthority in CiamAuthority and DstsAuthority. #6001

Bug Fixes

  • Fixed WithExtraQueryParameters on ManagedIdentityApplicationBuilder bypassing token caching. #6035
  • Guarded HTTP status codes on discovery endpoints in KnownInstanceMetadataIsUpToDateAsync. #6048
  • Detect orphaned KeyGuard certificates via public-key modulus comparison. #6020

4.84.1

Choose a tag to compare

@Avery-Dunn Avery-Dunn released this 19 May 22:39
022dcde

What's Changed

New Features

  • Added WithReservedScopes and WithCachePartitionKey public API extensions in #6014
  • Added IAuthenticationOperation3 interface for CDT + mTLS PoP composition in #5996
  • Added MsalRemainingTokenLifetime histogram metric for token expiry tracking in #5920

Changes

  • Removed [Obsolete] attribute from WithExtraBodyParameters extension method in #6006
  • Replaced ConcurrentHashSet with ConcurrentDictionary<T, byte> in #5975

Bug Fixes

  • Fixed WithTenantId not honoring MSA tenant GUID when specified at request level in #5958
  • Fixed OBO cache returning multiple_matching_tokens_detected when attributed tokens share a partition in #5993

Full Changelog: 6ff7075...main (6ff7075...main)

4.84.0

Choose a tag to compare

@Avery-Dunn Avery-Dunn released this 19 May 18:30
022dcde

What's Changed

New Features

  • Remove embedded Newtonsoft.Json, migrate to System.Text.Json exclusively in #5959
  • Expose refresh token via extension and add CacheOptions.DisableInternalCache in #5947
  • Added support for WithAttributeTokens in #5888
  • Feature: mTLS Bearer via CertificateOptions.SendCertificateOverMtls in #5849
  • Remove experimental feature gate from WithClientAssertion(ClientSignedAssertion) overload in #5945
  • Support forwarding MSAL client metadata headers through IMDS to ESTS in #5912
  • Add CorrelationId to AssertionRequestOptions for FIC in #5937
  • Add raw STS error code to MsalFailure metric in #5961

Bug Fixes

  • Fix: make System.ValueTuple conditional on net462 only in #5906
  • Fix eager evaluation in ConcurrentDictionary.GetOrAdd calls in #5950
  • Validate clientSignedAssertionProvider delegate is non-null in WithClientAssertion in #5956
  • Improve MtlsPopTokenNotSupportedInImdsV1 error message clarity in #5908
  • Added more checks for issuer validation in #5931

Improvements

  • Remove region as hard requirement for mTLS PoP flows in #5902
  • Add in-process MAA token caching to PopKeyAttestor in #5887
  • Refactor client credential material resolution in #5835

Dependencies Updates

  • Bump OpenTelemetry version in #5960

Full Changelog: 4.83.3...cb59f84 (4.83.3...cb59f84)

4.83.3

Choose a tag to compare

@gladjohn gladjohn released this 30 Mar 22:40
64076ee

New Features

  • Added support for User Federated Identity Credential (UserFIC) scenarios through the IByUserFederatedIdentityCredential interface and user_fic grant type. #5802

Changes

  • Updated NativeInterop to version 0.20.3. #5866

Bug Fixes

  • Fixed response handling in HttpListenerInterceptor.cs to ensure the full response is properly closed. #5478
  • Fixed macOS detection to include maccatalyst target in desktop platform checks.#5882

Infrastructure & Dependencies

  • Extracted reusable MSAL test infrastructure into Microsoft.Identity.Lab.API. #5864