[keycloak-user] Help problem with Bad request

valsaraj pv valsarajpv at gmail.com
Fri May 4 09:34:37 EDT 2018


Hi,

When user clicks login, redirected to Keycloak login page & then after
successful login, user comes back to application with 400 error page.
Server log shows following:

> [Server:node-00] 13:40:00,709 WARN
> [org.keycloak.adapters.OAuthRequestAuthenticator] (default task-30) state
> parameter invalid


My application conf is:
<subsystem xmlns="urn:jboss:domain:keycloak:1.1">
<secure-deployment name="appWEB.war">
    <realm>demo</realm>
    <resource>app</resource>
    <public-client>true</public-client>
    <auth-server-url>http://localhost:8180/auth</auth-server-url>
    <ssl-required>EXTERNAL</ssl-required>
</secure-deployment>
</subsystem>

Application URL is https://localhost:8443/app & redirect_url is
https://localhost:8443/app/private.jsf.

When I use http, it works. But the error comes when I use same with https.
Any thoughts?


Thanks,

Valsaraj Viswanathan


More information about the keycloak-user mailing list