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

Bruno Oliveira bruno at abstractj.org
Wed Jan 20 13:15:51 EST 2016


I noticed that looking at Hawkular, but correct if I'm wrong. Today
that's not supported for the client side configuration, unless you
workaround it like you did with Servlets, right?

On Wed, Jan 20, 2016 at 3:35 PM, Juraci Paixão Kröhling
<jpkroehling at redhat.com> wrote:
> 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.
> _______________________________________________
> keycloak-dev mailing list
> keycloak-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-dev



-- 
- abstractj



More information about the keycloak-dev mailing list