Is there an API call for changing user password on keycloak?

后端 未结 4 1398
没有蜡笔的小新
没有蜡笔的小新 2020-12-08 07:03

I am trying to implement my own form for changing a user\'s password. I tried to find an API for changing a user\'s password in Keycloak but I couldn\'t find anything in the

4条回答
  •  离开以前
    2020-12-08 07:32

    you can use PUT /auth/admin/realms/{realm}/users/{id}/reset-password

    • {id} is the user id in keycloak (not the login)

    Here is s sample body.

    { "type": "password", "temporary": false, "value": "my-new-password" }

提交回复
热议问题