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

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