Skip to content

Open-Source API Development Ecosystem • https://hoppscotch.io • Offline, On-Prem & Cloud • Web, Desktop & CLI • Open-Source Alternative to Postman, Insomnia

fix: oauth token exchange param naming convention

Hugh O'Brienead9c23d9e2e
diff --git a/helpers/oauth.js b/helpers/oauth.js
index 4fc997330..15bd0ae55 100644
--- a/helpers/oauth.js
+++ b/helpers/oauth.js
@@ -220,7 +220,7 @@ const oauthRedirect = () => {
code: q.code,
client_id: getLocalConfig("client_id"),
redirect_uri: redirectUri,
- codeVerifier: getLocalConfig("pkce_codeVerifier"),
+ code_verifier: getLocalConfig("pkce_codeVerifier"),
})
} catch (err) {
console.log(`${error.error}\n\n${error.error_description}`)