So I would have to build a module that has the same mechanics of that one
on providing themes, bundle it as a jar and adding it to my deployment's
lib directory.
Is that correct?
On Thu, Sep 11, 2014 at 9:24 AM, Stian Thorgersen <stian(a)redhat.com> wrote:
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/...
----- Original Message -----
> From: "Rodrigo Sasaki" <rodrigopsasaki(a)gmail.com>
> To: keycloak-user(a)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(a)lists.jboss.org
>
https://lists.jboss.org/mailman/listinfo/keycloak-user