[keycloak-user] CLI for adding modules configuration in <theme> in standalone.xml

John Bartko john.bartko at drillinginfo.com
Thu Sep 14 10:25:46 EDT 2017


Libor,


I believe something like:


module add --name=org.example.custom-theme --resources=/path/to/custom-theme.zip
/subsystem=keycloak-server/theme=defaults:write-attribute(name=modules,value=[org.example.custom-theme])

should do the trick.


Hope that helps,

-John Bartko

________________________________
From: keycloak-user-bounces at lists.jboss.org <keycloak-user-bounces at lists.jboss.org> on behalf of Libor Krzyzanek <lkrzyzan at redhat.com>
Sent: Thursday, September 14, 2017 6:58:23 AM
To: keycloak-user
Subject: [keycloak-user] CLI for adding modules configuration in <theme> in standalone.xml

Hi there,
I cannot figure out how to write a CLI for adding modules configuration within <theme> element in standalone.xml as described here:
http://www.keycloak.org/docs/3.3/server_development/topics/themes.html<http://www.keycloak.org/docs/3.3/server_development/topics/themes.html> <http://www.keycloak.org/docs/3.3/server_development/topics/themes.html<http://www.keycloak.org/docs/3.3/server_development/topics/themes.html>>

It would be cool to have this CLI in docs.

Thanks for help,

Libor Krzyžanek
Principal Software Engineer
Middleware Engineering Services

_______________________________________________
keycloak-user mailing list
keycloak-user at lists.jboss.org
https://lists.jboss.org/mailman/listinfo/keycloak-user<https://lists.jboss.org/mailman/listinfo/keycloak-user>


More information about the keycloak-user mailing list