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: pkce params match okta naming convension

Hugh O'Brien44d1ad7422a3
diff --git a/helpers/oauth.js b/helpers/oauth.js
index c60ce5524..4fc997330 100644
--- a/helpers/oauth.js
+++ b/helpers/oauth.js
@@ -183,9 +183,9 @@ const tokenRequest = async ({
scope
)}&redirect_uri=${encodeURIComponent(
redirectUri
- )}&codeChallenge=${encodeURIComponent(
+ )}&code_challenge=${encodeURIComponent(
codeChallenge
- )}&codeChallenge_method=S256`
+ )}&code_challenge_method=S256`
// Redirect to the authorization server
window.location = buildUrl()