[jboss-jira] [JBoss JIRA] (WFLY-11988) Fail to get token fetched from keycloak using keycloak-admin-client

Gunter Zeilinger (Jira) issues at jboss.org
Sun Apr 14 15:02:00 EDT 2019


     [ https://issues.jboss.org/browse/WFLY-11988?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gunter Zeilinger updated WFLY-11988:
------------------------------------
    Summary: Fail to get token fetched from keycloak using keycloak-admin-client  (was: Fail to read token fetched from keycloak using keycloak-admin-client)


> Fail to get token fetched from keycloak using keycloak-admin-client
> -------------------------------------------------------------------
>
>                 Key: WFLY-11988
>                 URL: https://issues.jboss.org/browse/WFLY-11988
>             Project: WildFly
>          Issue Type: Bug
>          Components: REST
>    Affects Versions: 14.0.0.Final, 15.0.0.Final, 16.0.0.Final
>         Environment: {noformat}
> $ java -version
> openjdk version "11.0.1" 2018-10-16
> OpenJDK Runtime Environment (build 11.0.1+13-Ubuntu-3ubuntu3.18.10.1)
> OpenJDK 64-Bit Server VM (build 11.0.1+13-Ubuntu-3ubuntu3.18.10.1, mixed mode, sharing)
> {noformat}
>            Reporter: Gunter Zeilinger
>            Assignee: Alessio Soldano
>            Priority: Major
>
> Starting with Wildfly 14.0.0.Final, the properties of [AccessTokenResponse|https://www.keycloak.org/docs-api/5.0/javadocs/org/keycloak/representations/AccessTokenResponse.html] returned by [TokenManager.grantToken|https://jar-download.com/javaDoc/org.keycloak/keycloak-admin-client/5.0.0/org/keycloak/admin/client/token/TokenManager.html#grantToken] are not set.
> The failure seems related with a change in RESTEasy from 3.5.1.Final to 3.6.1.Final, concerning the used MessageBodyReader:
> Wildfly 13.0.0.Final:
> {noformat}
> 2019-04-14 20:01:12,337 DEBUG [org.jboss.resteasy.resteasy_jaxrs.i18n] (default task-1) MessageBodyReader: org.jboss.resteasy.plugins.providers.jackson.ResteasyJackson2Provider
> {noformat}
> vs.
> Wilfly 14+.0.0.Final
> {noformat}
> 2019-04-14 19:27:25,294 DEBUG [org.jboss.resteasy.resteasy_jaxrs.i18n] (default task-1) MessageBodyReader: org.jboss.resteasy.plugins.providers.jsonb.JsonBindingProvider
> {noformat}
> The failure is independent from the used version of keycloak-admin-client and the version of the Keycloak Server.



--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the jboss-jira mailing list