]
Gunter Zeilinger updated WFLY-11988:
------------------------------------
Workaround Description:
{code:xml}
<jboss-deployment-structure>
<deployment>
<exclusions>
<module
name="org.jboss.resteasy.resteasy-json-binding-provider"/>
</exclusions>
</deployment>
<sub-deployment name="xxxx.war">
<exclusions>
<module
name="org.jboss.resteasy.resteasy-json-binding-provider"/>
</exclusions>
</sub-deployment>
</jboss-deployment-structure>
{code}
Workaround: Workaround Exists
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/ke...]
returned by
[
TokenManager.grantToken|https://jar-download.com/javaDoc/org.keycloak/key...]
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.