Compare current password before doing a password reset -- Keycloak

Viewed 315

Is there any way to compare a plain text password sent from client to Spring Boot server with the password in Keycloak database to make sure they are the same before I let the user reset their password?

{
  "current_password": string,
  "password": string
}

At the moment I am only able to do a password reset without validation on the current password by

  userResource.resetPassword(credential);
0 Answers
Related