[keycloak-user] keycloak admin-client
Benjamin Hansmann [alphaApps]
b.hansmann at alphaapps.de
Tue Apr 21 11:13:28 EDT 2015
When using the keycloak admin-client library in my servlet, it seems to
fail unmarshalling the JSON authorization response. I think that
admin-client/keycloak-core relies on resteasy-jackskon-provider where my
servlet uses resteasy-jackson2-provider. Maybe this is the root of the
cause. Any ideas?
17:00:50,910 ERROR [io.undertow.request] (default task-4) UT005023:
Exception handling request to /services/users:
org.jboss.resteasy.spi.UnhandledException:
javax.ws.rs.client.ResponseProcessingException:
javax.ws.rs.ProcessingException:
com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException:
Unrecognized field "access_token" (class
org.keycloak.representations.AccessTokenResponse), not marked as
ignorable (9 known properties: "notBeforePolicy", "otherClaims",
"tokenType", "token", "expiresIn", "sessionState", "refreshExpiresIn",
"idToken", "refreshToken"])
at [Source: org.apache.http.conn.EofSensorInputStream at 31df042a; line:
1, column: 18] (through reference chain:
org.keycloak.representations.AccessTokenResponse["access_token"])
--
[alphaApps] mobile development
Benjamin Hansmann
Nosthoffenstraße 46
D-40589 Düsseldorf
Germany
Mobile: +49 (0) 177 249 47 47
Email: b.hansmann at alphaapps.de
More information about the keycloak-user
mailing list