Open-Source API Development Ecosystem • https://hoppscotch.io • Offline, On-Prem & Cloud • Web, Desktop & CLI • Open-Source Alternative to Postman, Insomnia
TypeScript apiapi-clientapi-restapi-testingdeveloper-toolsgraphqlhttphttp-clientpwarestrest-apispatestingtesting-toolstoolsvuevuejswebsocket
chore: method signatures for tokenRequest method
jamesgeorge007daf214275b72
diff --git a/assets/js/oauth.js b/assets/js/oauth.jsindex fdbe1c7f7..784f6baea 100644--- a/assets/js/oauth.js+++ b/assets/js/oauth.js@@ -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,