[keycloak-user] Jackson Exception updating user password via REST

Edem Morny emorny at gmail.com
Wed Nov 9 11:21:07 EST 2016


Hi,

I recently upgraded from Keycloak 1.5 to 2.3.0.Final, and my previously
working invocations of the "update password" REST API now fails on the
Keycloak server with the following exception on the keycloak output.


16:09:50,970 ERROR [org.jboss.resteasy.resteasy_jaxrs.i18n] (default
task-65) RESTEASY002005: Failed executing PUT
/admin/realms/caewex/users/011aa181-45cd-4e34-95c1-5f0f23674b42/reset-password:
org.jboss.resteasy.spi.ReaderException:
com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException:
Unrecognized field "config" (class
org.keycloak.representations.idm.CredentialRepresentation), not marked as
ignorable (12 known properties: "period", "hashIterations", "digits",
"hashedSaltedValue", "algorithm", "value", "temporary", "device",
"createdDate", "salt", "type", "counter"])
 at [Source: io.undertow.servlet.spec.ServletInputStreamImpl at 157c188d;
line: 1, column: 213] (through reference chain:
org.keycloak.representations.idm.CredentialRepresentation["config"])


Any idea what I might be doing wrong?


More information about the keycloak-user mailing list