[keycloak-dev] Keycloak distribution changes

Stan Silvert ssilvert at redhat.com
Wed Apr 15 08:19:51 EDT 2015


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?
> 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



More information about the keycloak-dev mailing list