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 oauthRedirect method
jamesgeorge007e1423033a6ee
diff --git a/assets/js/oauth.js b/assets/js/oauth.jsindex 6e00a21c6..cfe3d5d15 100644--- a/assets/js/oauth.js+++ b/assets/js/oauth.js@@ -185,11 +185,15 @@ const tokenRequest = async ({window.location = buildUrl();};-//////////////////////////////////////////////////////////////////////// OAUTH REDIRECT HANDLING-// Handle the redirect back from the authorization server and-// get an access token from the token endpoint+/**+ * Handle the redirect back from the authorization server and+ * get an access token from the token endpoint+ *+ * @returns {Object}+ */+const oauthRedirect = async () => {let tokenResponse = "";let q = parseQueryString(window.location.search.substring(1));