0 Replies Latest reply on Nov 5, 2018 4:57 AM by ksadjad

    keycloak admin client - check old password before changing password

    ksadjad

      I'm using keycloak-admin-client, version: '4.2.1.Final and I want to use is to change my users password through web services.

      the tricky part is first I have to be ensured that my client knows his/her currect password. So my fields are: currentPassword and newPassword.

      I didn't find any method in keycloak docs for this matter.

      Should I first try to login with username/currentPassword and based on the outcome allow my user to change password? or there is a more convenient way for doing so?

      Thanks in advance.