Skip to content

Latest commit

 

History

History
34 lines (18 loc) · 986 Bytes

README.md

File metadata and controls

34 lines (18 loc) · 986 Bytes

Keycloak Theme Development

An example development environment setup to build Keycloak themes

How to get started

Spin up Keycloak

Start required container (keycloak+postgres) using the follow command:

docker compose up -d

You can proof if the container is running with the command:

docker ps

Access the Administration Console via http://localhost:8080/

(optional) Extract themes

This step is optional, although I strongly suggest extracting the themes from the container. They are often the only reliable source on how things are implemented.

You can find a couple of helpful scripts in the scripts folder.

The jar can be extracted with this command:

./scripts/exportThemes.sh

Use the Tailwind Example

Log in as admin. Therefore you can find your login data in the .env file.

In the admin console you can go in your Realm settings to the "Themes" part. There you can choose the tailwind-example for your login screen and confirm it with "save".