[keycloak-user] [Keycloak-admin-client] An error message when changing password.

Алексей Виноградов vinogradov.a.i.93 at gmail.com
Mon Jun 3 00:23:33 EDT 2019


So, thanks to demetrio at carretti.pro, my problem has solved by upgrading to
the new version of keycloak-admin-client (4.8.3.Final) and
Resteasy(3.6.3.Final).

Note, that version of keycloak-admin-client (3.4.3.Final) and
Resteasy(3.1.4.Final) has that problem.

-- 
Best regards,
Vinogradov Alexey
vinogradov.a.i.93 at gmail.com
+7 983 311 38 40

пн, 27 мая 2019 г., 14:51 Алексей Виноградов <vinogradov.a.i.93 at gmail.com>:

> Hello everyone.
>
> I have a question about REST API of the Keycloak. When I attempt to change
> password via REST API of user to that password that not meets security
> constraints of Keycloak, I recieve BadRequestError without additional
> information of what goes wrong. But when I change password in
> Administration console I see an exact error.
>
> So, how can I get a exact problem what wrong with my password?
>
> My usecase is that:
> I have a frontend (html/css) that communicates with a backend that
> communicates with the Keycloak. An user wants to change password of his/her
> account so he/she click on button on some form, and makes a request to
> backend to change password. A backend processes that request and ask
> Keycloak to change user password. In case that password doesn't meet
> security constraint I want to provide to user exact error.
>
> Thanks to all.
> --
> --
> Best regards,
> Vinogradov Alexey
> vinogradov.a.i.93 at gmail.com
> +7 983 311 38 40
>


More information about the keycloak-user mailing list