Skip to content

Client request to token endpoint does not encode clientKey and secret properly #1532

@hjalet

Description

@hjalet

In the OpenID Connect Client:
When using a shared secret to request tokens at the token endpoint after a successful login,
The clientKey and Secret does not seem to be encoded correctly.
So a '/' in the secret is correctly encoded to %2F
While '+' and '=' signs in the client secret is not encoded at all.

The encoding takes place in line 248 in OIDCAuthenticationFilter class

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @hjalet

        Issue actions

          Client request to token endpoint does not encode clientKey and secret properly · Issue #1532 · mitreid-connect/OpenID-Connect-Java-Spring-Server