[keycloak-user] Increasing logging for debugging "Internal Server Error" response

Holtgrewe, Manuel manuel.holtgrewe at bihealth.de
Wed Jul 12 14:39:03 EDT 2017


Dear all,

I have some grief with my Keycloak 3.2.0.Final setup.

I have setup my instance and connected it to my organization's AD and this part works well.

I am now trying to connect a client application (that supports OAuth 2) to the Keycloak instance. The application redirects me to the Keycloak login and after successful login, I'm redirected back to the app. So far so good.

The app then tries to do the equivalent of the following.

curl -k --data "refresh_token=SOMEVERYLONGTOKEN&grant_type=refresh_token&client_secret=eeBoTh2hoMifooDaiyig&client_id=igv" https://KEYCLOAK.MYORGA.NET/auth/realms/MYREALM/protocol/openid-connect/token

from this, the app gets a "HTTP 500" response and the curl also displays "<html><head><title>Error</title></head><body>Internal Server Error</body></html>".

I'm running keycloak as a standalone app and so far did not succeed in debugging the problem. How can I increase log levels as to see where things are going bad?

Thanks,
Manuel


More information about the keycloak-user mailing list