Open LionelOnTech opened 1 week ago
google-oauth-java-client's LocalServerReceiver corrupts authorization code if the code contains encoded = sign (%3D).
=
%3D
PKCESample.java
Issue is on google-oauth-java-client's LocalServerReceiver line 282.
getRawQuery() should be used instead. Then decoded after queryToMap call.
getRawQuery()
queryToMap
google-oauth-java-client's LocalServerReceiver corrupts authorization code if the code contains encoded
=
sign (%3D
).Environment details
Steps to reproduce
PKCESample.java
against any OAuth server%3D
is decoded to=
.=
at the end of the code is removed, thus corrupting the authorization code.Any additional information below
Issue is on google-oauth-java-client's LocalServerReceiver line 282.
getRawQuery()
should be used instead. Then decoded afterqueryToMap
call.