From 2212e918ca2af93be4a8f36f07430988316d37ec Mon Sep 17 00:00:00 2001 From: Joe DeCock Date: Thu, 24 Oct 2024 13:46:15 -0500 Subject: [PATCH] Minor log message fix --- .../DPoP/DefaultDPoPProofValidator.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/AspNetCore.Authentication.JwtBearer/DPoP/DefaultDPoPProofValidator.cs b/src/AspNetCore.Authentication.JwtBearer/DPoP/DefaultDPoPProofValidator.cs index 54ea69e..96c1a5f 100644 --- a/src/AspNetCore.Authentication.JwtBearer/DPoP/DefaultDPoPProofValidator.cs +++ b/src/AspNetCore.Authentication.JwtBearer/DPoP/DefaultDPoPProofValidator.cs @@ -477,7 +477,7 @@ protected virtual async Task ValidateNonce( if (IsExpired(context, result, time, ExpirationValidationMode.Nonce)) { - Logger.LogDebug("DPoP 'nonce' expiration failed. It's possible that the server farm clocks might not be closely synchronized, so consider setting the ServerClockSkew on the DPoPOptions on the IdentityServerOptions."); + Logger.LogDebug("DPoP 'nonce' expired. Issuing new value to client."); result.SetError("Invalid 'nonce' value.", OidcConstants.TokenErrors.UseDPoPNonce); result.ServerIssuedNonce = CreateNonce(context, result);