[keycloak-user] How to configure an haproxy load balancer in front of a single Keycloak server?

Joe Vlcek jvlcek at redhat.com
Mon Apr 2 12:47:52 EDT 2018


Brief:

Are there any instructions for how to configure a load balancer in front of
a singer keycloak server?


Details:

There is a Cloudforms customer that has 2 Cloudforms instance, cf-1 and
cf-2 each of which are configured correctly to use keycloak/SAML for
authentication.

If one points a browser to cf-1 it is correctly redirected to the keycloak
server, once valid credentials are entered the browser correctly redirects
back to cf-1. The same is true for cf-2.

The customer is attempting to set up a haproxy in front of cf-1 and cf-2,
e.g.: cf-load-balancer.

If the point their browser to cf-load-balancer they are redirected to their
keycloak server but the redirect back fails.

I have found the instructions for how to set up a load balancer in front of
multiple keycloak servers which is a different configuration.

Are there any instructions for how to configure a load balancer in front of
a singer keycloak server?

Thank you! Joe VLcek


More information about the keycloak-user mailing list