[keycloak-user] Map domains to realms in keycloak

Kamal kamal.softeng at gmail.com
Tue Apr 17 10:27:46 EDT 2018


 Hi everyone,

Is there a way to associate each realm in KeyCloak with domain(or
subdomain)? I am hoping to be able to host multiple clients on the same
server, for example

https://client1.sso.mycompany.com/auth
https://client2.sso.mycompany.com/auth

and have keycloak associate client1 with a realm; say client1 and so forth.
I want to avoid having clients specify the realm in the URL; at least not
when they come to the site initially.

Any advice is appreciated.

Thanks,
Kamal


More information about the keycloak-user mailing list