Hi,
This issue is only if connection is HTTPS. The same application works in
HTTP. Is there any additional settings required if application URL is HTTPS
& Keycloak URL is HTTP?
Thanks!
On Fri, May 4, 2018 at 7:04 PM, valsaraj pv <valsarajpv(a)gmail.com> wrote:
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
--
Life is like this: "Just when we get all the answers of life.... God
changes the question paper....
Valsaraj Viswanathan