From 529cabfbe7ee602325ba0f70844c969176371746 Mon Sep 17 00:00:00 2001 From: Guillaume Chervet Date: Wed, 20 Dec 2023 10:20:24 +0100 Subject: [PATCH] fix(oidc): DPOP type jit instead of jti (#1249) (release) --- packages/oidc-client/src/jwt.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/oidc-client/src/jwt.ts b/packages/oidc-client/src/jwt.ts index 01376ea66..c4a2c4286 100644 --- a/packages/oidc-client/src/jwt.ts +++ b/packages/oidc-client/src/jwt.ts @@ -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),