maxan / keycloak-theme-development

An example development environment setup to build Keycloak themes

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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:

./scripts/start.sh

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

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

./scripts/exportThemes.sh

Themes are extracted to ./themes/keycloak-provided-themes.

Build the Tailwind Example

During development run

npm run build:tailwind-example:dev

Before using it in production run

npm run build:tailwind-example

(this will use all the optimization features of Tailwind)

About

An example development environment setup to build Keycloak themes

License:MIT License


Languages

Language:FreeMarker 88.0%Language:Shell 10.0%Language:JavaScript 1.5%Language:CSS 0.6%