Packages the official Git Credential Manager cross-platform credential store implementation supporting Windows, macOS and Linux for use as a NS2.0 library with no UI or external dependencies.
Addressed an issue where attempts to acquire a token via certificate authentication resulted in a Microsoft.Identity.Client.MsalServiceException (Error code: AADSTS5002730), signaling an "Invalid JWT token. Unsupported key for the signing algorithm." This was due to a known bug in Microsoft Entra ID (Azure AD) that affects the handling of JWT tokens signed with certain algorithms, specifically SHA2 and PSS. See 4690
4.60.0
New Features
AAD client assertions are computed using SHA 256 and PSS padding. See 4428
CorrelationId is available in MsalException. See 4187
Open telemetry records telemetry for proactive token refresh background process. See 4492
MSAL.Net now supports generic authorities with query parameters. See 4631
Bug Fixes
MSAL.Net now logs an error when OBO is performed over common or organizations. See 4606
MSAL.Net now handles the v2.0 authorization endpoint. See 4416
Improved logging and error message when the web api received claims challenge. See 4496
Cloud shell error message from the managed identity endpoint is parsed correctly. See 4402
Improved error message when CCA certificate is disposed before MSAL can use it. See 4602
Removed support for deprecated Xamarin.Android 9 and Xamarin.Android 10 frameworks. MSAL.NET packages will no longer include monoandroid90 and monoandroid10.0 binaries and instead include monoandroid12.0. Xamarin.Android apps should now target framework version 12 (corresponding to Android API level 31) or above. See 3530.
Removed support for deprecated .NET 4.5 framework. MSAL.NET packages will no longer include net45 binary. Existing applications should target at least .NET 4.6.2. See 4314.
Bug Fixes
When public client apps persist cache data on Linux platforms, exceptions are now thrown, instead of just logged. This behavior is now consistent with Windows and Mac cache accessors. See 4493.
Downgraded System.Diagnostics.DiagnosticSource dependency to 6.0.1 from 7.0.2 to enable apps to run in .NET 6 in-process Azure Functions. Added extra checks to prevent crashing if OpenTelemetry dependencies cannot be used in the app's runtime. See 4456.
MSAL now throws MsalServiceException instead of MsalManagedIdentityException in managed identity flows. See 4483.
Background proactive token refresh operation can now be cancelled using the cancelation token passed into the parent acquire token call. See 4473.
Fixed SemaphoreFullException happening in managed identity flows. See 4472.
Improved exception messages when using non-RSA certificates. See 4407.
Fixed a scenario when the same tokens are cached under different cache keys when an identity provider sends scopes in a different order. See 4474.
4.58.1
New Features
Added WithForceRefresh support for silent flows using the Windows broker. See 4457.
Bug Fixes
Fixed a bug when a x-ms-pkeyauth HTTP header was incorrectly sent on Mac and Linux platforms. See 4445.
Fixed an issue with client capabilities and claims JSON not being merged correctly. See 4447.
MSAL can now be used in .NET 8 applications which use native AOT configuration binder source generator. See 4453.
Fixed an issue with sending an incorrect operating system descriptor in silent flows on Mac. See 4444.
4.58.0
New Features
Removed support for deprecated .NET 4.6.1 framework and added .NET 4.6.2 support. MSAL.NET packages will no longer include net461 binary. Existing .NET 4.6.1 apps will now reference .NET Standard 2.0 MSAL binary. See 4315.
MSAL.NET repository now supports Central Package Management. See 3434.
Added instrumentation to collect metrics with Open Telemetry. Aggregated metrics consist of successful and failed token acquisition calls, total request duration, duration in cache, and duration in a network call. See 4229.
Bug Fixes
Resolved the issue with dual-headed accounts that share the same UPN for both, Microsoft (MSA) and Microsoft Entra ID (Azure AD) accounts. See 4425.
Removed support for deprecated Xamarin.Android 9 and Xamarin.Android 10 frameworks. MSAL.NET packages will no longer include monoandroid90 and monoandroid10.0 binaries and instead include monoandroid12.0. Xamarin.Android apps should now target framework version 12 (corresponding to Android API level 31) or above. See 3530.
Removed support for deprecated .NET 4.5 framework. MSAL.NET packages will no longer include net45 binary. Existing applications should target at least .NET 4.6.2. See 4314.
Bug Fixes
When public client apps persist cache data on Linux platforms, exceptions are now thrown, instead of just logged. This behavior is now consistent with Windows and Mac cache accessors. See 4493.
Downgraded System.Diagnostics.DiagnosticSource dependency to 6.0.1 from 7.0.2 to enable apps to run in .NET 6 in-process Azure Functions. Added extra checks to prevent crashing if OpenTelemetry dependencies cannot be used in the app's runtime. See 4456.
MSAL now throws MsalServiceException instead of MsalManagedIdentityException in managed identity flows. See 4483.
Background proactive token refresh operation can now be cancelled using the cancelation token passed into the parent acquire token call. See 4473.
Fixed SemaphoreFullException happening in managed identity flows. See 4472.
Improved exception messages when using non-RSA certificates. See 4407.
Fixed a scenario when the same tokens are cached under different cache keys when an identity provider sends scopes in a different order. See 4474.
4.58.1
New Features
Added WithForceRefresh support for silent flows using the Windows broker. See 4457.
Bug Fixes
Fixed a bug when a x-ms-pkeyauth HTTP header was incorrectly sent on Mac and Linux platforms. See 4445.
Fixed an issue with client capabilities and claims JSON not being merged correctly. See 4447.
MSAL can now be used in .NET 8 applications which use native AOT configuration binder source generator. See 4453.
Fixed an issue with sending an incorrect operating system descriptor in silent flows on Mac. See 4444.
4.58.0
New Features
Removed support for deprecated .NET 4.6.1 framework and added .NET 4.6.2 support. MSAL.NET packages will no longer include net461 binary. Existing .NET 4.6.1 apps will now reference .NET Standard 2.0 MSAL binary. See 4315.
MSAL.NET repository now supports Central Package Management. See 3434.
Added instrumentation to collect metrics with Open Telemetry. Aggregated metrics consist of successful and failed token acquisition calls, total request duration, duration in cache, and duration in a network call. See 4229
Addressed an issue where attempts to acquire a token via certificate authentication resulted in a Microsoft.Identity.Client.MsalServiceException (Error code: AADSTS5002730), signaling an "Invalid JWT token. Unsupported key for the signing algorithm." This was due to a known bug in Microsoft Entra ID (Azure AD) that affects the handling of JWT tokens signed with certain algorithms, specifically SHA2 and PSS. See 4690
4.60.0
New Features
AAD client assertions are computed using SHA 256 and PSS padding. See 4428
CorrelationId is available in MsalException. See 4187
Open telemetry records telemetry for proactive token refresh background process. See 4492
MSAL.Net now supports generic authorities with query parameters. See 4631
Bug Fixes
MSAL.Net now logs an error when OBO is performed over common or organizations. See 4606
MSAL.Net now handles the v2.0 authorization endpoint. See 4416
Improved logging and error message when the web api received claims challenge. See 4496
Cloud shell error message from the managed identity endpoint is parsed correctly. See 4402
Improved error message when CCA certificate is disposed before MSAL can use it. See 4602
Removed support for deprecated Xamarin.Android 9 and Xamarin.Android 10 frameworks. MSAL.NET packages will no longer include monoandroid90 and monoandroid10.0 binaries and instead include monoandroid12.0. Xamarin.Android apps should now target framework version 12 (corresponding to Android API level 31) or above. See 3530.
Removed support for deprecated .NET 4.5 framework. MSAL.NET packages will no longer include net45 binary. Existing applications should target at least .NET 4.6.2. See 4314.
Bug Fixes
When public client apps persist cache data on Linux platforms, exceptions are now thrown, instead of just logged. This behavior is now consistent with Windows and Mac cache accessors. See 4493.
Downgraded System.Diagnostics.DiagnosticSource dependency to 6.0.1 from 7.0.2 to enable apps to run in .NET 6 in-process Azure Functions. Added extra checks to prevent crashing if OpenTelemetry dependencies cannot be used in the app's runtime. See 4456.
MSAL now throws MsalServiceException instead of MsalManagedIdentityException in managed identity flows. See 4483.
Background proactive token refresh operation can now be cancelled using the cancelation token passed into the parent acquire token call. See 4473.
Fixed SemaphoreFullException happening in managed identity flows. See 4472.
Improved exception messages when using non-RSA certificates. See 4407.
Fixed a scenario when the same tokens are cached under different cache keys when an identity provider sends scopes in a different order. See 4474.
4.58.1
New Features
Added WithForceRefresh support for silent flows using the Windows broker. See 4457.
Bug Fixes
Fixed a bug when a x-ms-pkeyauth HTTP header was incorrectly sent on Mac and Linux platforms. See 4445.
Fixed an issue with client capabilities and claims JSON not being merged correctly. See 4447.
MSAL can now be used in .NET 8 applications which use native AOT configuration binder source generator. See 4453.
Fixed an issue with sending an incorrect operating system descriptor in silent flows on Mac. See 4444.
4.58.0
New Features
Removed support for deprecated .NET 4.6.1 framework and added .NET 4.6.2 support. MSAL.NET packages will no longer include net461 binary. Existing .NET 4.6.1 apps will now reference .NET Standard 2.0 MSAL binary. See 4315.
MSAL.NET repository now supports Central Package Management. See 3434.
Added instrumentation to collect metrics with Open Telemetry. Aggregated metrics consist of successful and failed token acquisition calls, total request duration, duration in cache, and duration in a network call. See 4229.
Bug Fixes
Resolved the issue with dual-headed accounts that share the same UPN for both, Microsoft (MSA) and Microsoft Entra ID (Azure AD) accounts. See 4425.
Removed support for deprecated Xamarin.Android 9 and Xamarin.Android 10 frameworks. MSAL.NET packages will no longer include monoandroid90 and monoandroid10.0 binaries and instead include monoandroid12.0. Xamarin.Android apps should now target framework version 12 (corresponding to Android API level 31) or above. See 3530.
Removed support for deprecated .NET 4.5 framework. MSAL.NET packages will no longer include net45 binary. Existing applications should target at least .NET 4.6.2. See 4314.
Bug Fixes
When public client apps persist cache data on Linux platforms, exceptions are now thrown, instead of just logged. This behavior is now consistent with Windows and Mac cache accessors. See 4493.
Downgraded System.Diagnostics.DiagnosticSource dependency to 6.0.1 from 7.0.2 to enable apps to run in .NET 6 in-process Azure Functions. Added extra checks to prevent crashing if OpenTelemetry dependencies cannot be used in the app's runtime. See 4456.
MSAL now throws MsalServiceException instead of MsalManagedIdentityException in managed identity flows. See 4483.
Background proactive token refresh operation can now be cancelled using the cancelation token passed into the parent acquire token call. See 4473.
Fixed SemaphoreFullException happening in managed identity flows. See 4472.
Improved exception messages when using non-RSA certificates. See 4407.
Fixed a scenario when the same tokens are cached under different cache keys when an identity provider sends scopes in a different order. See 4474.
4.58.1
New Features
Added WithForceRefresh support for silent flows using the Windows broker. See 4457.
Bug Fixes
Fixed a bug when a x-ms-pkeyauth HTTP header was incorrectly sent on Mac and Linux platforms. See 4445.
Fixed an issue with client capabilities and claims JSON not being merged correctly. See 4447.
MSAL can now be used in .NET 8 applications which use native AOT configuration binder source generator. See 4453.
Fixed an issue with sending an incorrect operating system descriptor in silent flows on Mac. See 4444.
4.58.0
New Features
Removed support for deprecated .NET 4.6.1 framework and added .NET 4.6.2 support. MSAL.NET packages will no longer include net461 binary. Existing .NET 4.6.1 apps will now reference .NET Standard 2.0 MSAL binary. See 4315.
MSAL.NET repository now supports Central Package Management. See 3434.
Added instrumentation to collect metrics with Open Telemetry. Aggregated metrics consist of successful and failed token acquisition calls, total request duration, duration in cache, and duration in a network call. See 4229
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps Microsoft.Identity.Client.Extensions.Msal and Microsoft.Identity.Client. These dependencies needed to be updated together. Updates
Microsoft.Identity.Client.Extensions.Msal
from 2.28.0 to 4.60.1Release notes
Sourced from Microsoft.Identity.Client.Extensions.Msal's releases.
... (truncated)
Changelog
Sourced from Microsoft.Identity.Client.Extensions.Msal's changelog.
... (truncated)
Commits
Updates
Microsoft.Identity.Client
from 4.54.0 to 4.60.1Release notes
Sourced from Microsoft.Identity.Client's releases.
... (truncated)
Changelog
Sourced from Microsoft.Identity.Client's changelog.
... (truncated)
Commits
463c985
Temporary Workaround for AAD JWT Token Signing Algorithm Issue (#4692)6e129f6
Update CHANGELOG.md (#4684)3e806d8
Fix xml comments warnings (#4683)80faef7
SsoPolicy support for PCA. (#4659)e065471
Make URL settable in extensibility point to allow setting query paramsadedbaa
Try to fix the tests failing on one branch (#4680)1230d24
[OneBranch] Update InstallAndroid.ps1 and install android 31 (#4675)d237013
Use MSI based Resource Manager for Builds / Tests (#4674)add5f1c
Add a comment to API ID097c27b
Update src/client/Microsoft.Identity.Client/AppConfig/ConfidentialClientAppli...Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show