[keycloak-user] Deploy a custom theme with the war
Stian Thorgersen
stian at redhat.com
Thu Sep 11 08:24:41 EDT 2014
You can bundle a theme as a jar, but as it's an extension to Keycloak, not your war, it has to be on Keycloak's classpath ('standalone/deployments/auth-server.war/WEB-INF/lib').
See https://github.com/keycloak/keycloak/tree/master/forms/common-themes, specifically https://github.com/keycloak/keycloak/blob/master/forms/common-themes/src/main/java/org/keycloak/theme/DefaultKeycloakThemeProvider.java
----- Original Message -----
> From: "Rodrigo Sasaki" <rodrigopsasaki at gmail.com>
> To: keycloak-user at lists.jboss.org
> Sent: Thursday, 11 September, 2014 2:18:23 PM
> Subject: [keycloak-user] Deploy a custom theme with the war
>
> Hello,
>
> I'm not sure if there was already a question on this matter, but I searched
> aroung in JIRA and I couldn't find it.
>
> Is there a way to deploy a custom theme along with my war artifact?
>
> I tried creating modules like the ones provided, I extended an e-mail module
> and a common themes module, creating the factories with a new id, but on the
> admin console UI I can't see my own theme on the select menu.
>
> If I create a theme and insert it in the /standalone/configuration/themes
> directory of my application server it works, but I was told to try and
> deploy it along with our war, to capture the theme from the classpath.
>
> Is there already a built in way to do this?
>
> --
> Rodrigo Sasaki
>
> _______________________________________________
> keycloak-user mailing list
> keycloak-user at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-user
More information about the keycloak-user
mailing list