Did you add theme.propertirs and keycloak-themes.json files? Did you use
the correct directory structure? Take a look at the following as an example
and see if you've done anything different to that one:
https://github.com/keycloak/keycloak/tree/master/examples/themes
On Fri, 4 Oct 2019, 11:07 Pavel, <paveljacobo.gonzalez(a)cmvconsultores.es>
wrote:
Hello
I follow the documentation how to deploy themes on keycloak.
I've used those attached files (mytheme.jar), then, I copied them into
deployment directory. The server logs shows as follow:
*11:13:11,857 INFO [org.jboss.as.server.deployment] (MSC service thread
1-1) WFLYSRV0027: Starting deployment of "mytheme.war" (runtime-name:
"mytheme.war")**
**11:13:12,020 INFO [org.wildfly.extension.undertow] (ServerService
Thread Pool -- 71) WFLYUT0021: Registered web context: '/mytheme' for
server 'default-server'**
**11:13:12,091 INFO [org.jboss.as.server] (DeploymentScanner-threads -
1) WFLYSRV0010: Deployed "mytheme.war" (runtime-name :
"mytheme.war")*
[pavel@pavel-pc deployments]$ ls -tlr
total 20
-rw-r--r-- 1 pavel pavel 8888 ago 24 13:14 README.txt
-rw-r--r-- 1 pavel pavel 11 sep 30 11:13 *mytheme.war.deployed*
-rw-r--r-- 1 pavel pavel 3315 sep 30 11:13 mytheme.war*
*
So, everything supposed to work properly, but when I go to
realm-settings and look for the theme, *nothing is there*.
I'm using Manjaro.
*[pavel@pavel-pc ~]$ java -version*
openjdk version "1.8.0_222"
OpenJDK Runtime Environment (build 1.8.0_222-b05)
OpenJDK 64-Bit Server VM (build 25.222-b05, mixed mode)
*[pavel@pavel-pc keycloak]$ ls -l*
total 230444
drwxr-xr-x 10 pavel pavel *4096 ago 24 13:14 keycloak-7.0.0*
I use the next command on linux.
jar cf mytheme.jar META-INF/* mytheme/*
it produces *mytheme.jar* file.
*What Am I doing wrong?*
Thanks so much
Best Regards
Pavel
_______________________________________________
keycloak-user mailing list
keycloak-user(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/keycloak-user