Skip to content

An example development environment setup to build Keycloak themes

License

Notifications You must be signed in to change notification settings

trigo-at/keycloak-theme-development

Repository files navigation

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".

About

An example development environment setup to build Keycloak themes

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •