i'm tired

This commit is contained in:
beltram 2023-05-22 15:12:47 +02:00 committed by Herman Slatman
parent 03dbd91418
commit f5b346ee36
No known key found for this signature in database
GPG Key ID: F4D8A44EA0A75A4F

View File

@ -559,7 +559,7 @@ func wireDPOP01Validate(ctx context.Context, ch *Challenge, db DB, jwk *jose.JSO
return WrapErrorISE(err, "Invalid DPoP token")
}
dpop := make(map[string]interface{})
if err := parsedAccessToken.UnsafeClaimsWithoutVerification(&parsedDpopToken); err != nil {
if err := parsedDpopToken.UnsafeClaimsWithoutVerification(&dpop); err != nil {
return WrapErrorISE(err, "Failed parsing dpop token")
}