Hello Shankar,
a while ago I built a demo-system with Keycloak running behind a ha-proxy
with docker.
Maybe this helps you a bit.
https://github.com/jugsaar/visit-yajug-20161023-keycloak/tree/master/idm-...
Cheers,
Thomas
2017-08-04 7:09 GMT+02:00 Shankar_Bhaskaran <Shankar_Bhaskaran(a)infosys.com>:
Hi ,
We have configured HAProxy as our load balancer and keycloak (3.0) as our
SSO. We have configured the keycloak domain and secured our wars with
keycloak for our web application.
In Haproxy we have provided the "forwardfor" option which introduces the
header parameter -"X-Forwarded-For" and configured keycloak as given below
to accept the header parameter as given below.
"<http-listener name="default" socket-binding="http"
redirect-socket="https" proxy-address-forwarding="true"/>"
But still the redirect from keycloak is going to HAProxy machine and not
to backend servers with our webapp.
Is there any help you can provide here
Regards,
Shankar
_______________________________________________
keycloak-dev mailing list
keycloak-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/keycloak-dev