Can't find any *.ftl files inside of a docker container or zipped folder

I’m trying to play around with themes in order to understand how I can extend them. Numerous resources on the web tell that there should be some .ftl files contained with themes directory of the keycloak.

I’ve set up a docker container from keycloak.org, and bashed into it. The directory is empty, there is only a README.md file in there. At the same time, there are 2 themes available in the keycloak and they are working.

I’ve tried searching for *.ftl files inside of a container to no avail.

I’ve looked inside zipped distribution as well.

Any advice is appreciated :slight_smile:

Docs for extending keycloak themes are here Server Developer Guide

You can either create a jar file with your theme and put it in the docker container in /opt/keycloak/providers/ or put an unpacked version in the /opt/keycloak/themes/ dir.

I created a template for building a custom theme here GitHub - p2-inc/keycloak-theme-template: Starter for building a Keycloak theme