[prev in list] [next in list] [prev in thread] [next in thread] 

List:       keycloak-user
Subject:    [keycloak-user] keycloak admin-client not return error message when password violate password policy
From:       ntle () castortech ! com (Nhut Thai Le)
Date:       2018-04-30 13:44:08
Message-ID: CAJVRZt9SsEZk_MXWjz+QqtpQJtC7pFCWfdnQRdbo6YrBLoK3aQ () mail ! gmail ! com
[Download RAW message or body]

Hello,

I configued some password policy on keycloak console and it's working fine.
However when using the admin-client to reset password:
realm.users().get(userUuid).resetPassword(cred);
I get an exception nesting a http 400 error  (expected) but there is no
message about which policy is being violate. If i call the admin REST api
directly, i got the error message in the body.

Is there anyway I can retrieve the error message using admin-client?

Thai

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic