From 53a5d5693f943bb55afb9bc109e62ea1f44fc3fc Mon Sep 17 00:00:00 2001 From: Joe DeCock Date: Thu, 30 Nov 2023 13:12:54 -0600 Subject: [PATCH] Fix dpop proof validator --- samples/Api.DPoP/DPoP/DPoPProofValidator.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/Api.DPoP/DPoP/DPoPProofValidator.cs b/samples/Api.DPoP/DPoP/DPoPProofValidator.cs index 89ab2ed7..ef41c6df 100644 --- a/samples/Api.DPoP/DPoP/DPoPProofValidator.cs +++ b/samples/Api.DPoP/DPoP/DPoPProofValidator.cs @@ -130,7 +130,7 @@ protected virtual Task ValidateHeaderAsync(DPoPProofValidatonContext context, DP return Task.CompletedTask; } - if (!token.TryGetHeaderValue>(JwtClaimTypes.JsonWebKey, out var jwkValues)) + if (!token.TryGetHeaderValue(JwtClaimTypes.JsonWebKey, out var jwkValues)) { result.IsError = true; result.ErrorDescription = "Invalid 'jwk' value.";