[keycloak-user] KeyCloak Admin Client :

pkkamos pkkamos at gmail.com
Wed Feb 3 08:04:10 EST 2016


Thanks a lot Stian. I will give that a try whiles i wait for 1.9.
On 3 Feb 2016 12:57, "Stian Thorgersen" <sthorger at redhat.com> wrote:

> 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/25fcd67f/attachment.html 


More information about the keycloak-user mailing list