From 44d1ad7422a3a74dc8659ad3f11743167e31174a Mon Sep 17 00:00:00 2001 From: Hugh O'Brien Date: Fri, 6 Aug 2021 18:45:09 +0100 Subject: [PATCH] fix: pkce params match okta naming convension --- helpers/oauth.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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()