Hi,
Setting hostname=b.com and sending https://b.com/realms/… works perfectly fine.
Kerberos works good.
But now I have keycloak behind a reverse proxy (a.com)
Setting hostname=a.com allows the oidc authentication but not kerberos.
I set the ProxyPass for 88 port as well, but I still get the NTLM prompt.
Changing the Keytab file and the Server Principal in the admin console to a.com also did not help.
(FYI. Both a.com and b.com keytabs were created in the AD server, not the proxy server.)
So I’m looking for a way to either:
- Make kerberos work where keycloak is behind the reverse proxy
- Set multiple hostnames in keycloak.conf
I found Keycloak Quarkus multiple hostname (googleusercontent.com) and [keycloak-user] Reverse Proxy Keycloak - Kerberos SPNEGO breaks (jboss.org) but both not have any answer…