Remove non-standard code_challenge_method from token request for IDP (#12473)

Closes #12141
This commit is contained in:
Lex Cao 2022-06-15 02:46:35 +08:00 committed by GitHub
parent 60702cfb44
commit 06dfb45c39
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -570,7 +570,6 @@ public abstract class AbstractOAuth2IdentityProvider<C extends OAuth2IdentityPro
}
tokenRequest.param(OAuth2Constants.CODE_VERIFIER, brokerCodeChallenge);
tokenRequest.param(OAuth2Constants.CODE_CHALLENGE_METHOD, getConfig().getPkceMethod());
}
return authenticateTokenRequest(tokenRequest);