wso2-extensions / identity-outbound-auth-oidc

Apache License 2.0
6 stars 108 forks source link

Remove Double Encoding of URL Query Parameters. #145

Closed Shaaali closed 1 year ago

Shaaali commented 1 year ago

Proposed changes in this pull request

$subject.

This PR removes the URL encoding happening in [1] because, the query parameters will be encoded at [2] when the request passes through initiateAuthenticationRequest.

https://github.com/Shaaali/identity-outbound-auth-oidc/blob/1ae27ee2c10a3ba9503b05bf1dbf2055df8251b8/components/org.wso2.carbon.identity.application.authenticator.oidc/src/main/java/org/wso2/carbon/identity/application/authenticator/oidc/OpenIDConnectAuthenticator.java#L398

https://github.com/Shaaali/identity-outbound-auth-oidc/blob/1ae27ee2c10a3ba9503b05bf1dbf2055df8251b8/components/org.wso2.carbon.identity.application.authenticator.oidc/src/main/java/org/wso2/carbon/identity/application/authenticator/oidc/OpenIDConnectAuthenticator.java#L411

-

When should this PR be merged

[Please describe any preconditions that need to be addressed before we can merge this pull request.]

Follow up actions

[List any possible follow-up actions here; for instance, testing data migrations, software that we need to install on staging and production environments.]

-

Checklist (for reviewing)

General

Functionality

Code

Tests

Security

Documentation