Hello,
We have a keycloak instance up and running that we want to use for
identity brokering with the miniOrange OAuth / OpenID Connect server.
We are using the keycloak to a OpenID Connect V1.0 identity broker method, which is offered in the keycloak administration dashboard.
the solution work well on windows (Wordpress + miniOrange OAuth / OpenID Connect server + Keycloak 15.0.2 )
but not on linux which is our cible production.
The errors :Could not decode access token response
12:37:59,713 ERROR [org.keycloak.broker.oidc.AbstractOAuth2IdentityProvider]
(default task-5) Failed to make identity provider oauth callback:
org.keycloak.broker.provider.IdentityBrokerException: Could not decode
access token response.
at org.keycloak.broker.oidc.OIDCIdentityProvider.getFederatedIdentity(OIDCIdentityProvider.java:358)
at org.keycloak.broker.oidc.AbstractOAuth2IdentityProvider$Endpoint.authResponse(AbstractOAuth2IdentityProvider.java:472)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
Caused
Caused by: com.fasterxml.jackson.core.JsonParseException:
Unrecognized token '´': was expecting (JSON String, Number, Array,
Object or token 'null', 'true' or 'false')
at [Source:
(String)"´╗┐{"access_token":"20ce95d0033ebdaffe7a9d88b9c248069597125a75be9370305d748293b516ea748fa40868860f8bc2eceaba4c19f8e3fc1c9de48e98aa09128200d09d79807","expires_in":3600,"token_type":"Bearer","scope":"openid","id_token":"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwczpcL1wvcGF0cml0aGVxdWUtcHJlcHJvZC5oYXJ2ZXN0LmZyXC93cC1qc29uXC9tb3NlcnZlciIsInN1YiI6IjEyODQiLCJhdWQiOiJkcFphaWNRY2p1S21BVGdRTFJhUWlQcWxtV0N4dFhxdyIsIklEIjoxMjg0LCJpYXQiOjE2MzcwNjI2Nzk
for more details see https://issues.redhat.com/browse/KEYCLOAK-19823
Any suggestions ?
Thank You