Merge pull request #1762 from hughobrien/oauth-pkce-paramname-fix

fix: pkce params match rfc naming convention
This commit is contained in:
Liyas Thomas 2021-08-06 23:23:10 +05:30 committed by GitHub
commit f71d93a684
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()