Skip to content

DPoPWebIdExtractor jwk thumprint verification #722

Answered by panva
zg009 asked this question in Q&A
Discussion options

You must be logged in to vote

https://datatracker.ietf.org/doc/html/rfc9449#section-6.1

jkt: JWK SHA-256 Thumbprint confirmation method. The value of the jkt member MUST be the base64url encoding (as defined in [RFC7515]) of the JWK SHA-256 Thumbprint (according to [RFC7638]) of the DPoP public key (in JWK format) to which the access token is bound.

There's a helper for this in jose: https://github.com/panva/jose/blob/v5.9.3/docs/functions/jwk_thumbprint.calculateJwkThumbprint.md#function-calculatejwkthumbprint

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@zg009
Comment options

@panva
Comment options

@zg009
Comment options

Answer selected by zg009
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants