chore: method signatures for tokenRequest method
This commit is contained in:
parent
a4b89a2152
commit
daf214275b
1 changed files with 7 additions and 2 deletions
|
|
@ -127,10 +127,15 @@ const pkceChallengeFromVerifier = async v => {
|
|||
return base64urlencode(hashed);
|
||||
};
|
||||
|
||||
//////////////////////////////////////////////////////////////////////
|
||||
// OAUTH REQUEST
|
||||
|
||||
// Initiate PKCE Auth Code flow when requested
|
||||
/**
|
||||
* Initiate PKCE Auth Code flow when requested
|
||||
*
|
||||
* @param {Object} - The necessary params
|
||||
* @returns {Void}
|
||||
*/
|
||||
|
||||
const tokenRequest = async ({
|
||||
oidcDiscoveryUrl,
|
||||
grantType,
|
||||
|
|
|
|||
Loading…
Reference in a new issue