Go to file
teutat3s 1202a23c20
chore: add result to gitignore
2024-02-08 21:39:09 +01:00
.dev-import Improve keycloak theming 2022-11-27 21:38:41 +01:00
account fix: file permissions from 755 to 644 2023-12-03 12:10:12 +01:00
admin fix: file permissions from 755 to 644 2023-12-03 12:10:12 +01:00
common Fix missing jquery dependency 2023-07-14 22:05:18 +02:00
email Initial work on pub.solar theme 2022-11-27 02:17:33 +01:00
login fix: webauthn set up device button 2024-01-11 22:02:25 +01:00
pkgs Compile sass on build 2022-11-27 15:17:32 +01:00
welcome fix: file permissions from 755 to 644 2023-12-03 12:10:12 +01:00
.envrc Initial work on pub.solar theme 2022-11-27 02:17:33 +01:00
.gitignore chore: add result to gitignore 2024-02-08 21:39:09 +01:00
README.md docs: update keycloak version to 23.0.6 in README 2024-02-08 21:39:09 +01:00
flake.lock flake: update inputs 2024-02-08 20:02:31 +01:00
flake.nix flake: bump lockfile 2023-07-14 23:10:26 +02:00
overlay.nix Working nix package for theme 2022-11-27 05:16:39 +01:00
shell.nix Initial work on pub.solar theme 2022-11-27 02:17:33 +01:00

README.md

pub.solar Keycloak theme

Development setup

To start a Dev Keycloak instance that can show the pub.solar theme, you need to do the following:

  1. Go into Keycloak's Administration Console, and export the pub.solar realm config. In Keycloak, open the pub.solar realm, click on the menu item "Realm settings", open the dropdown "Action", and click "Partial export". Move the generated JSON file into ./.dev-imports in this repo.

  2. Run the following command:

docker run \
  --name keycloak-theme-dev \
  -p 8080:8080 \
  -e KEYCLOAK_ADMIN=admin \
  -e KEYCLOAK_ADMIN_PASSWORD=admin \
  -v $(pwd):/opt/keycloak/themes/pub.solar \
  -v $(pwd)/.dev-import:/opt/keycloak/data/import \
  quay.io/keycloak/keycloak:23.0.6 \
  start-dev --import-realm --features="declarative-user-profile"
  1. After this, you can start and stop the container using docker start keycloak-theme-dev and docker-stop keycloak-theme-dev.

  2. Connect to the local Keycloak instance at http://localhost:8080 and open the Administration Console. Login with username: admin, password: admin.

  3. To view the theme in action, open http://localhost:8080/realms/pub.solar/account