Skip to content
This repository was archived by the owner on Oct 10, 2025. It is now read-only.

Commit 9a76330

Browse files
Bump Microsoft.Identity.Client from 4.66.2 to 4.70.1 (#174)
* Bump Microsoft.Identity.Client from 4.66.2 to 4.70.1 Bumps [Microsoft.Identity.Client](https://github.com/AzureAD/microsoft-authentication-library-for-dotnet) from 4.66.2 to 4.70.1. - [Release notes](https://github.com/AzureAD/microsoft-authentication-library-for-dotnet/releases) - [Changelog](https://github.com/AzureAD/microsoft-authentication-library-for-dotnet/blob/main/CHANGELOG.md) - [Commits](AzureAD/microsoft-authentication-library-for-dotnet@4.66.2...4.70.1) --- updated-dependencies: - dependency-name: Microsoft.Identity.Client dependency-version: 4.70.1 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> * Fixed failing tests after breaking changes in MSAL --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Geir Marius Gjul (Innleid) <[email protected]>
1 parent 9844475 commit 9a76330

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Directory.Packages.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<PackageVersion Include="Microsoft.Extensions.Configuration.Json" Version="9.0.4" />
99
<PackageVersion Include="Microsoft.Extensions.Http" Version="9.0.3" />
1010
<PackageVersion Include="Microsoft.Extensions.Options.ConfigurationExtensions" Version="9.0.4" />
11-
<PackageVersion Include="Microsoft.Identity.Client" Version="4.66.2" />
11+
<PackageVersion Include="Microsoft.Identity.Client" Version="4.70.1" />
1212
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.13.0" />
1313
<PackageVersion Include="NSubstitute" Version="5.3.0" />
1414
<PackageVersion Include="NUnit" Version="4.3.2" />

Fhi.ClientCredentialsKeypairs/AuthenticationService.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ public async Task SetupToken()
8585

8686
_accessToken = result.AccessToken;
8787
}
88-
catch (MsalServiceException e) when (e.ErrorCode == DPoPErrorCode.UseDPoPNonce)
88+
catch (MsalServiceException e) when (e.Message.Contains(DPoPErrorCode.UseDPoPNonce))
8989
{
9090
var nonce = e.Headers.GetValues(DPoPHeaderNames.Nonce).FirstOrDefault() ??
9191
throw new DPoPException("There must be exactly one value for the DPoP-Nonce header");

0 commit comments

Comments
 (0)