[keycloak-user] login form action wron protocol

Stian Thorgersen sthorger at redhat.com
Wed Dec 14 00:49:32 EST 2016


Check out
https://keycloak.gitbooks.io/server-installation-and-configuration/content/topics/clustering/load-balancer.html,
specifically "Enable HTTPS/SSL with a Reverse Proxy" it covers this.

On 6 December 2016 at 20:41, Uli SE <keycloaklist at ulise.de> wrote:

>
> Hi,
>
> I´m setting up a new keycloak 2.3.0. It´s behind a apache proxy which
> terminates ssl.
>
> My only problem is, that in the login-form the action has the wrong
> protocol (http instead of https) It has the correct hostname, and my
> apache is forwarding all necessary headers correctly (I think).
>
> In
>
> <form id="kc-form-login" class="" action="${url.loginAction}"
> method="post">
>
> url.loginAction is perfectly build, bus has the wrong protocol.
>
> If I overwrite this in the browser, everything works perfect. Could you
> please tell me, which option will setup this uri correctly?
>
> Many thanks,
>
> Uli
>
>
> _______________________________________________
> keycloak-user mailing list
> keycloak-user at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-user


More information about the keycloak-user mailing list