Skip to content

Conversation

@ifmolina
Copy link

@ifmolina ifmolina commented Nov 13, 2017

The following pull request resolves the issue Password encoder doesn't work from Web Interface

The solution is to overwrite the client service of the project mitreid-connect / OpenID-Connect-Java-Spring-Server so that when saving a new client or when updating an existing client, the client secret is stored encoded using the configured encoder for clients.

In the case of having no password encoder configured, the NoOpPasswordEncoder is used, which stores the password as plain text.

This solution is merely temporary since the objective is to modify the mitreid-connect / OpenID-Connect-Java-Spring-Server project so that an instance of a PasswordEncoder can be injected.

@ifmolina ifmolina changed the title Override client service saving actions to save password encoded with … Override client service saving actions to use password encoder to save client secret Nov 13, 2017
@ifmolina
Copy link
Author

ifmolina commented Dec 4, 2017

Hello, have you been able to review the proposed solution?

Thank you

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant