Login, account and email themes with Keycloakify #2
Etiketter
Inga etiketter
area/backups
area/ci
area/control-panel
area/identity
area/infra
area/observability
area/payments
area/security
area/storage
area/web
blocked
needs-info
needs-triage
priority
high
priority
low
priority
medium
ready-for-implementation
type
bug
type
chore
type
docs
type
epic
type
feature
type
task
wontfix
Ingen milstolpe
Inget projekt
Inga tilldelade
1 deltagare
Notiser
Förfallodatum
Inget förfallodatum satt.
Beroenden
Inga beroenden satta
Referens
bitborg/bitborg-keycloak#2
Läser in…
Hänvisa till i nytt ärende
Ingen beskrivning angiven.
Ta bort grenen "%!s()"
Borttagning av en gren är permanent. Även om den borttagna grenen kan fortsätta existera en kort tid innan den faktiskt tas bort, kan det INTE ångras i de flesta fall. Vill du fortsätta?
Own Swedish and English copy and the portal look on every screen in the sign-up, sign-in, enrolment and recovery path.
svandenmessage bundles inline insrc/login/i18n.ts. Check strings with the web language-check skill.kc.sh build.Done when: the image ships the theme and every screen on the path shows reviewed copy.
Depends on: #1
Depends on: bitborg/bitborg-infra#575
Epic: bitborg/bitborg-docs#127
Found in staging testing: the enrolment pages do not carry the username, so a password manager cannot tie the password to the account. Requirement for the login theme:
login-update-password: a username field (visible read-only, or hidden) withautocomplete="username"and the account's username, and the new password fields withautocomplete="new-password".login-config-totpand the recovery-codes page: show which account is being set up.Step order (password before TOTP) is fixed in the realm with required-action priorities.
Decision for the Keycloakify theme:
assets/auth/(bitborg-auth.svg,icon-oauth2.svg), renamed for "Bitborg-id" / "Bitborg ID".Status 2026-10-12: none of the five boxes is done. The repo has only a minimal FreeMarker theme with
parent=keycloak.v2(login and email). PRs #9, #10 and #14 fixed single screens and the activation and migration mails. Keycloakify is not in use yet. Keeping this open.Keycloakify facts, checked 2026-10-08.
Tool
Email
npx keycloakify initialize-email-theme.keycloakify-emails, to keep dependencies down.i18n
withCustomTranslations({ sv: { … } })insrc/login/i18n.ts, inline only.data-kc-msgattribute in the page source.Build
npm run build-keycloak-themewrites JARs todist_keycloak/. Needs Maven and a JDK.keycloakVersionTargetslimits the output to the 26+ JAR.Deploy
/opt/keycloak/providers, then runkc.sh build.start --optimizedthe JAR is baked into the image.Dev loop
npx keycloakify add-story.npx keycloakify start-keycloak(Docker; Podman untested).Upgrades