feat(theme): username on passkey enrolment, activation email #10
Inga granskare
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!10
Läser in…
Hänvisa till i nytt ärende
Ingen beskrivning angiven.
Ta bort grenen "fix/passkey-username"
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?
Refs #2. Release as
v26.8.0-3.What
webauthn-register.ftl, copied from keycloak.v2 26.8.0): a labelled, read-only username field (autocomplete="username webauthn"). Upstream already passes the rightuser.nametocredentials.create; the page just showed no username.field.groupmacro.providers/email, idbitborg) extendsFreeMarkerEmailTemplateProvider#sendExecuteActionsand picksexecuteActionsActivateSubjectwhen the required actions includeVERIFY_EMAIL, otherwiseexecuteActionsSubject. Selected at build time withKC_SPI_EMAIL_TEMPLATE__PROVIDER=bitborg.bitborgoverridesexecuteActions.ftl(html and text): activation or update body, steps as a list, sv and en messages.mvn -B verify, so a failing test fails the image build.Verified
Local run of the built image with
start --optimizedand an SMTP sink: both pages render the labelled field, and both emails arrive with the right subject and body. Unit tests: 3 pass.Notes
emailTemplateis an internal SPI (KC-SERVICES0047). Re-check on each Keycloak minor.