[keycloak-user] Help problem with Bad request

Gyalai Milán gyalai at mail.thot-soft.com
Tue Jun 28 04:39:32 EDT 2016


Hello,

I have problem with the Bad request when the user login.

I have a simple War with JSP-s. With the following keycloak.json

{
     "realm": "test",
     "realm-public-key": "...",
     "auth-server-url": "keycloak-url",
     "ssl-required": "none",
     "resource": "dashboard-app",
     "public-client": true,
     "use-resource-role-mappings": false,
     "principal-attribute": "preferred_username"
}

The wildfly redirects to the keycloak perfectly and adds a status 
parameter to the URL. After the login we get a 400 Bad request error. In 
the wildfly log I found these lines.

WARN  [org.keycloak.adapters.OAuthRequestAuthenticator] (default 
task-111) state parameter invalid
WARN  [org.keycloak.adapters.OAuthRequestAuthenticator] (default 
task-111) cookie: 151/af93b54d-6b04-4d82-9a8b-1fe7203b279e
  WARN  [org.keycloak.adapters.OAuthRequestAuthenticator] (default 
task-111) queryParam: 150/e946fb78-9902-4449-8c33-687fcaf98d3d

What did I configure wrong?

The Keycloak version is 1.9.8.Final .

Any ideas ?

Regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/keycloak-user/attachments/20160628/511fed1a/attachment.html 


More information about the keycloak-user mailing list