Remove non-standard code_challenge_method
from token request for IDP (#12473)
Closes #12141
This commit is contained in:
parent
60702cfb44
commit
06dfb45c39
1 changed files with 3 additions and 4 deletions
|
@ -372,8 +372,8 @@ public abstract class AbstractOAuth2IdentityProvider<C extends OAuth2IdentityPro
|
|||
}
|
||||
|
||||
/**
|
||||
* Get JSON property as text. JSON numbers and booleans are converted to text. Empty string is converted to null.
|
||||
*
|
||||
* Get JSON property as text. JSON numbers and booleans are converted to text. Empty string is converted to null.
|
||||
*
|
||||
* @param jsonNode to get property from
|
||||
* @param name of property to get
|
||||
* @return string value of the property or null.
|
||||
|
@ -570,12 +570,11 @@ public abstract class AbstractOAuth2IdentityProvider<C extends OAuth2IdentityPro
|
|||
}
|
||||
|
||||
tokenRequest.param(OAuth2Constants.CODE_VERIFIER, brokerCodeChallenge);
|
||||
tokenRequest.param(OAuth2Constants.CODE_CHALLENGE_METHOD, getConfig().getPkceMethod());
|
||||
}
|
||||
|
||||
return authenticateTokenRequest(tokenRequest);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
protected String getProfileEndpointForValidation(EventBuilder event) {
|
||||
|
|
Loading…
Reference in a new issue