Skip to content

Consider logging invalid client secret #1246

Closed
@sjohnr

Description

@sjohnr

if (!this.passwordEncoder.matches(clientSecret, registeredClient.getClientSecret())) {
throwInvalidClient(OAuth2ParameterNames.CLIENT_SECRET);
}

We should consider adding a log entry at DEBUG level in ClientSecretAuthenticationProvider for this case. This would allow the logging level to be tuned specifically for this logging.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions