mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2025-02-03 08:01:40 +01:00
Use valid length of code_verifier
This commit is contained in:
parent
90b5a74e07
commit
2f27f83194
@ -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
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user