Skip to content

Commit

Permalink
fix(oidc): DPOP type jit instead of jti (#1249) (release)
Browse files Browse the repository at this point in the history
  • Loading branch information
guillaume-chervet committed Dec 20, 2023
1 parent fd0058b commit 529cabf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/oidc-client/src/jwt.ts
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ export const generateJwtDemonstratingProofOfPossessionAsync = (jwk, method = 'PO

const claims = {
// https://www.rfc-editor.org/rfc/rfc9449.html#name-concept
jit: btoa(guid()),
jti: btoa(guid()),
htm: method,
htu: url,
iat: Math.round(Date.now() / 1000),
Expand Down

0 comments on commit 529cabf

Please sign in to comment.