Regression with URL encode client credentials #10018 #11435
Labels
in: oauth2
An issue in OAuth2 modules (oauth2-core, oauth2-client, oauth2-resource-server, oauth2-jose)
status: declined
A suggestion or change that we don't feel we should currently apply
Describe the bug
This bug is described here "Regression with URL encode client credentials #10018", it was fixed in 5.5.2 but it appears again in
5.6.x
https://github.com/spring-projects/spring-security/blob/5.6.0/oauth2/oauth2-client/src/main/java/org/springframework/security/oauth2/client/endpoint/OAuth2AuthorizationGrantRequestEntityUtils.java
BUG:
with
FIX:
with setBasicAuth :
To Reproduce
Use spring boot 2.6 and oauth2 client credentials. If client Secret contains specific characters => URL encoding
Expected behavior
Restores the 5.5.2 fix please
Sample
A link to a GitHub repository with a minimal, reproducible sample.
Reports that include a sample will take priority over reports that do not.
At times, we may require a sample, so it is good to try and include a sample up front.
The text was updated successfully, but these errors were encountered: