[keycloak-user] KeyCloak Admin Client :

Stian Thorgersen sthorger at redhat.com
Wed Feb 3 07:57:41 EST 2016


In the past the admin client required Jackson 1.x and didn't work with
Jackson 2.x. This is being fixed in 1.9.

To make it work you'll need to either wait for 1.9 or make your WAR use
Jackson instead of Jackson 2. Check out the admin client example as it
doesn't exactly that.

On 3 February 2016 at 13:35, PAA KOJO KONDUAH AMOS <pkkamos at gmail.com>
wrote:

> Hello, I have tried out KeyCloak Admin Client. In fact, I have done a
> standalone application which works nicely with KeyCloak Server.
>
>
>
> What I don’t get is, when I port a similar thing into a web application
> context and deploy same on wildfly fly I keep getting the Exception below:
>
>
>
> *Caused by: 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"])*
>
>
>
>
>
> Any lead on how to resolve all these maven dependency issues?
>
>
>
>
>
> Thanks.
>
>
>
> Sent from Mail <http://go.microsoft.com/fwlink/?LinkId=550986> for
> Windows 10
>
>
>
> _______________________________________________
> keycloak-user mailing list
> keycloak-user at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/keycloak-user/attachments/20160203/85c83cd1/attachment.html 


More information about the keycloak-user mailing list