Use valid length of code_verifier

This commit is contained in:
Hugh Nimmo-Smith 2022-07-29 09:44:24 +01:00
parent 90b5a74e07
commit 2f27f83194

View File

@ -242,7 +242,7 @@ export class OidcApi {
redirectUri, redirectUri,
state: randomString(8), state: randomString(8),
nonce: randomString(8), nonce: randomString(8),
codeVerifier: randomString(32), codeVerifier: randomString(64), // https://tools.ietf.org/html/rfc7636#section-4.1 length needs to be 43-128 characters
}; };
} }