[keycloak-dev] auth-server-url as a system variable

Juraci Paixão Kröhling jpkroehling at redhat.com
Wed Jan 20 12:35:33 EST 2016


On 20.01.2016 18:19, Bruno Oliveira wrote:
> Or just configuring it inside standalone.xml like Hawkular already
> does (http://www.hawkular.org/docs/user/installation-guide.html#_preparing_the_environments)
>
> ## Pass the variable as argument
>
> {
>    "realm" : "aerogear",
>    "auth-server-url" : "${keycloak.server.url}",
>    "ssl-required" : "external",
>    "resource" : "unified-push-server",
>    "bearer-only" : true,
>    "disable-trust-manager" : true
> }

The Wildfly Adapter already supports this: https://git.io/vzBpU

For the keycloak.json used in our UI, we did it as a Servlet:

Template: https://git.io/vzBAU
keycloak.json as servlet: https://git.io/vRdJi

- Juca.


More information about the keycloak-dev mailing list