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