Ok, good news. The guide says as follows
Themes can be deployed to Keycloak by copying the theme directory to
themes
or it can be deployed as an archive
This wasn’t true in my case. If I put the folder under themes
keycloak recognizes it but it doesn’t apply it (with cache turned on; with cache turned off it works).
So I kept reading and I tried what it’s suggested under Server Developer Guide. I created a jar file, moved it to /standalone/deployments
, keycloak saw it immediatly, I selected it in the admin console and it was applied immediatly with cache turned on.
I think the guide is a little bit misleading. In any case it worked.
Thanks for your help!