Skip to content

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

4.91.1

Choose a tag to compare

@neha-bhargava neha-bhargava released this 19 Oct 22:56
5df0316

Changes

  • Added opt-in reduced token-acquisition logging: set MSAL_REDUCED_LOGGING=true (or 1) before application construction to move selected routine Information-level diagnostics to Verbose. Existing logging behavior is unchanged by default; acquisition summaries, warnings, and errors remain unchanged. #6208 #6224

Full Changelog: 4.91.0...4.91.1

4.91.0

Choose a tag to compare

@gladjohn gladjohn released this 12 Oct 13:25
fa82173

New Features

  • Made the dynamic certificate provider and confidential-client callbacks (OnMsalServiceFailure, OnCompletion, and OnBackgroundTokenRefreshCompleted) generally available, removing the experimental feature opt-in requirement. #6216

Bug Fixes

  • Fixed built-in mTLS HttpClient caching to use certificate object identity, ensuring a new certificate instance with a reacquired private-key handle receives a new handler even when its thumbprint is unchanged. #6217
  • Fixed managed identity WithForceRefresh(true) to re-mint the MSI v2 binding certificate before acquiring a new token, while reusing a valid cached attestation token for the current key. #6215
  • Fixed system-browser authentication callbacks in Linux containers by adding opt-in IPv4 port-forwarding support through MSAL_ALLOW_SYSTEM_BROWSER_PORT_FORWARDING, disabled by default. #6186

4.90.1

Choose a tag to compare

@gladjohn gladjohn released this 25 Sep 23:31
2e5ecc7

New Features

  • Added IMsalWsTrustHttpClientFactory, allowing custom HTTP client factories to provide redirect-disabled, credential-policy-aware clients for federation metadata (MEX) and WS-Trust requests. Added MsalError.TooManyRedirects and MsalError.WsTrustCrossOriginRedirectNotSupported for redirect failures. #6165

Bug Fixes

  • Hardened federation metadata and WS-Trust requests by requiring HTTPS, securely validating redirects, rejecting credential-bearing cross-origin redirects, and limiting redirect chains. #6165
  • Fixed instance discovery so a custom authority port is not forwarded to the global discovery host, while preserving the port when discovery uses the authority host. #6155
  • Fixed KeyGuard attestation to send the tenant ID as the MAA client_id metadata value without changing managed-identity client-ID handling or attestation-cache partitioning. #6200

Changes

  • Updated Microsoft.Azure.Security.KeyGuardAttestation from version 1.1.7 to 1.1.8. #6202

4.90.0

Choose a tag to compare

@gladjohn gladjohn released this 16 Sep 21:50
c34d5b4

Changes

  • Updated the KeyGuardAttestation package version to 1.1.7. #6189

4.89.0

Choose a tag to compare

@Avery-Dunn Avery-Dunn released this 15 Sep 21:44
c14ad83

What's Changed

New Contributors

Full Changelog: 4.88.0...4.89.0

4.88.0

Choose a tag to compare

@gladjohn gladjohn released this 20 Aug 20:22
f6c9c0a

New Features

  • Added user-assigned managed identity support for Azure Arc, including selecting the identity by client ID and validating the identity returned in the token response. #6128
  • Added WithRequestOverMtls() to managed identity token requests, enabling attested bearer-token acquisition over the IMDSv2 mTLS transport. #6086

Bug Fixes

  • Fixed token-cache key collisions by length-prefixing additional cache-key components before hashing. #6137
  • Populated authentication-result telemetry metadata on proactive background-refresh results. #6157
  • Fixed mTLS PoP authority validation incorrectly rejecting sovereign-cloud aliases such as login.chinacloudapi.cn and login.usgovcloudapi.net. #6153

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

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

Full Changelog: 4.85.1...4.85.2