mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-24 20:14:53 +01:00
Use valid length of code_verifier
This commit is contained in:
parent
4fcbd3bf20
commit
1482ba24bf
@ -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…
Reference in New Issue
Block a user