mirror of
https://github.com/usebruno/bruno.git
synced 2024-12-23 07:09:01 +01:00
parent
0b2b16abcc
commit
ae3c76a6c1
@ -4,7 +4,7 @@ const { authorizeUserInWindow } = require('./authorize-user-in-window');
|
||||
const Oauth2Store = require('../../store/oauth2');
|
||||
|
||||
const generateCodeVerifier = () => {
|
||||
return crypto.randomBytes(16).toString('hex');
|
||||
return crypto.randomBytes(22).toString('hex');
|
||||
};
|
||||
|
||||
const generateCodeChallenge = (codeVerifier) => {
|
||||
|
Loading…
Reference in New Issue
Block a user