feat(theme): show the username during enrolment #9

Sammanfogat
supernaut sammanfogade 1 incheckning från feat/login-theme-username in i main 2026-10-09 20:28:45 +00:00
Ägare

Refs #2.

Why

During enrolment the update-password page did not carry the username, so a password manager could not tie the new password to the account. The TOTP page did not say which account it was for.

What

A minimal login theme bitborg with parent=keycloak.v2, copied into the image before kc.sh build. Two templates override upstream 26.8.0 with two lines each:

  • login-update-password.ftl: read-only username input with autocomplete="username". The upstream password fields already use new-password.
  • login-config-totp.ftl: "Konto: {0}" / "Account: {0}" from totp.username.

The Keycloakify theme in #2 replaces this.

Verified

Built image with start --optimized, realm with loginTheme=bitborg:

  • update-password: <input type="text" id="username" name="username" value="bob" autocomplete="username" readonly ...>
  • TOTP: <p id="kc-totp-account">Account: alice</p>

Release: tag v26.8.0-2 after merge.

Refs #2. ## Why During enrolment the update-password page did not carry the username, so a password manager could not tie the new password to the account. The TOTP page did not say which account it was for. ## What A minimal login theme `bitborg` with `parent=keycloak.v2`, copied into the image before `kc.sh build`. Two templates override upstream 26.8.0 with two lines each: - `login-update-password.ftl`: read-only `username` input with `autocomplete="username"`. The upstream password fields already use `new-password`. - `login-config-totp.ftl`: "Konto: {0}" / "Account: {0}" from `totp.username`. The Keycloakify theme in #2 replaces this. ## Verified Built image with `start --optimized`, realm with `loginTheme=bitborg`: - update-password: `<input type="text" id="username" name="username" value="bob" autocomplete="username" readonly ...>` - TOTP: `<p id="kc-totp-account">Account: alice</p>` Release: tag `v26.8.0-2` after merge.
supernaut lade till 1 incheckning 2026-10-09 20:26:41 +00:00
feat(theme): show the username on update-password and totp pages
Alla kontroller lyckades
ci / ci (pull_request) Successful in 1m35s
de00d0a488
Minimal bitborg login theme on keycloak.v2, copied from 26.8.0. Lets
password managers tie the new password to the account.

Refs #2
supernaut schemalade den här ändringsförfrågan för automatisk sammanfogning när alla kontroller lyckas 2026-10-09 20:26:55 +00:00
supernaut sammanfogade incheckning 74e7484d79 till main 2026-10-09 20:28:45 +00:00
supernaut tog bort grenen feat/login-theme-username 2026-10-09 20:28:45 +00:00
supernaut refererade denna ändringsförfrågan från en incheckning 2026-10-09 20:28:47 +00:00
Logga in för att delta i denna konversation.
Inga granskare
Ingen milstolpe
Inget projekt
Inga tilldelade
1 deltagare
Notiser
Förfallodatum
Förfallodatumet är ogiltigt eller utanför gränserna. Använd formatet "åååå-mm-dd".

Inget förfallodatum satt.

Beroenden

Inga beroenden satta

Referens
bitborg/bitborg-keycloak!9
Ingen beskrivning angiven.