[keycloak-dev] Keycloak distribution changes
Stan Silvert
ssilvert at redhat.com
Wed Apr 15 08:37:18 EDT 2015
On 4/15/2015 8:31 AM, Stian Thorgersen wrote:
>
> ----- Original Message -----
>> From: "Stan Silvert" <ssilvert at redhat.com>
>> To: keycloak-dev at lists.jboss.org
>> Sent: Wednesday, April 15, 2015 2:19:51 PM
>> Subject: Re: [keycloak-dev] Keycloak distribution changes
>>
>> On 4/14/2015 8:22 PM, Stan Silvert wrote:
>>> On 4/14/2015 2:28 AM, Stian Thorgersen wrote:
>>>> * Add support to use root-context with server subsystem
>>>>
>> BTW, I think this should be documented somewhere. Should it be in the
>> doc, wiki, or in a blog?
> Docs ;)
>
> We could add to http://docs.jboss.org/keycloak/docs/1.2.0.Beta1/userguide/html/providers.html#d4e411 and include list of what providers and their config options.
Huh? This isn't about providers. It's a setting in the Undertow subsystem.
>
>>> I tried it out and this already works. To run the Keycloak server as
>>> the root context, you just need to change an Undertow setting:
>>> <host name="default-host" alias="localhost"
>>> default-web-module="main-auth-server.war">
>>>
>>> default-web-module should be whatever you named your server in the
>>> Keycloak subsystem with ".war" appended. By default, this is
>>> "main-auth-server.war".
>>>
>>> <subsystem xmlns="urn:jboss:domain:keycloak:1.0">
>>> <auth-server name="main-auth-server">
>>> <enabled>true</enabled>
>>> <web-context>auth</web-context>
>>> </auth-server>
>>> </subsystem>
>>> Whatever you have set for web-context will be ignored. You could just
>>> set it to /.
>>>
>>> Also Note: If you change the default-web-module after you have already
>>> booted your server then you will need to wipe out your old keycloak
>>> database, which will then contain an old invalid redirect url.
>>>
>>> Stan
>>> _______________________________________________
>>> keycloak-dev mailing list
>>> keycloak-dev at lists.jboss.org
>>> https://lists.jboss.org/mailman/listinfo/keycloak-dev
>> _______________________________________________
>> keycloak-dev mailing list
>> keycloak-dev at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/keycloak-dev
>>
More information about the keycloak-dev
mailing list