fix: pkce params match okta naming convension

This commit is contained in:
Hugh O'Brien 2021-08-06 18:45:09 +01:00 committed by GitHub
parent b0b758a9c6
commit 44d1ad7422
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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()