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
Update oauth.js
Hugh O'Brien967ad773ebb8
diff --git a/helpers/oauth.js b/helpers/oauth.jsindex 15bd0ae55..8e67ce202 100644--- a/helpers/oauth.js+++ b/helpers/oauth.js@@ -154,10 +154,10 @@ const tokenRequest = async ({}) => {// Check oauth configurationif (oidcDiscoveryUrl !== "") {- const { authorizationEndpoint, tokenEndpoint } =+ const { authorization_endpoint, token_endpoint } =await getTokenConfiguration(oidcDiscoveryUrl)- authUrl = authorizationEndpoint- accessTokenUrl = tokenEndpoint+ authUrl = authorization_endpoint+ accessTokenUrl = token_endpoint}// Store oauth information