[keycloak-dev] Server alias

Stian Thorgersen stian at redhat.com
Tue Apr 1 11:36:01 EDT 2014


To make it simpler to manage URLs for applications and clients (redirect, management, base) I propose we add server aliases.

A server alias is an alias that resolves to a hostname and optional port.

For example valid redirect uris could be:

http://${myserver}/myapp

Which could resolve to: http://www.myserver.com/myapp or http://localhost/myapp

We could also add a special built in server alias for the Keycloak server itself (for example ${keycloak}). This server alias would be resolved depending on the URL used to contact Keycloak.

I think this should be helpful for UPS as redirect URIs for the UPS bundled with Keycloak would use the Keycloak server alias.


More information about the keycloak-dev mailing list