<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">Hi all,</div><div class=""><br class=""></div><div class="">I’m trying to integrate Keycloak with a custom OpenID Connect identity provider. I got to the point where the server returned Keycloak a JSON response.</div><div class=""><br class=""></div><div class="">I got the following error:</div><div class=""><b class=""><i class="">2015-07-07 02:39:46,013 ERROR [org.keycloak.broker.oidc.AbstractOAuth2IdentityProvider] (default task-12) Failed to make identity provider oauth callback: org.keycloak.broker.provider.IdentityBrokerException: Could not fetch attributes from userinfo endpoint.</i></b></div><div class=""><b class=""><i class="">…</i></b></div><div class=""><b class=""><i class="">...</i></b></div><div class=""><b class=""><i class="">Caused by: org.codehaus.jackson.JsonParseException: Unexpected character (',' (code 44)): expected a valid value (number, String, array, object, 'true', 'false' or 'null') at [Source: java.io.StringReader@183b074c; line: 3, column: 10]</i></b></div><div class=""><br class=""></div><div class="">Is there a way to peek at the content of the JSON response? I tried switching on debug mode in Wildfly, but the token wasn’t printed in the logs.</div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">Thanks!</div><div class="">Eugene</div></body></html>