keycloakforgot-passwordreset-password

forgot password button in Keycloak


I use Keycloak as an access management and authentication system I implemented the admin panel of my site with React and I want to add a forgot password button and a password reset feature for the users of my site. Which Keycloak API should I use ?


Solution

  • You need to call reset password API

    PUT /{realm}/users/{id}/reset-password
    

    enter image description here

    In Keycloak Admin REST API at Set up a new password for the user section.

    How to set password for keycloak users?