docs: document recovery codes for users who sign in with password + TOTP #167

Stängd
öppnade 2026-08-02 12:30:28 +00:00 av supernaut · 2 kommentarer
Ägare

Why

"I lost my authenticator app" has no self-service answer for a password + TOTP user beyond a full credential reset. Keycloak offers recovery authentication codes for this case. They are stored hashed, so they survive the loss of the enrolled secret.

Check first that the feature is available in our Keycloak version and enabled in our image. Without that, this issue changes to documenting the reset route.

Scope

  • Guide and FAQ: what recovery codes are, when to generate them (at TOTP enrolment), how to store them, how to use one to sign in.
  • Add a "generate your recovery codes now" prompt to the credential-setup guidance for the password path. A Keycloak theme change may be needed (bitborg-keycloak#2).
  • EN and SV, style guide applied.

Done when

A user who signs in with password + TOTP can find, in our own docs, how to get back in after losing their phone, without contacting the operator.

## Why "I lost my authenticator app" has no self-service answer for a password + TOTP user beyond a full credential reset. Keycloak offers recovery authentication codes for this case. They are stored hashed, so they survive the loss of the enrolled secret. Check first that the feature is available in our Keycloak version and enabled in our image. Without that, this issue changes to documenting the reset route. ## Scope - Guide and FAQ: what recovery codes are, when to generate them (at TOTP enrolment), how to store them, how to use one to sign in. - Add a "generate your recovery codes now" prompt to the credential-setup guidance for the password path. A Keycloak theme change may be needed (bitborg-keycloak#2). - EN and SV, style guide applied. ## Done when A user who signs in with password + TOTP can find, in our own docs, how to get back in after losing their phone, without contacting the operator.
supernaut lade till detta till projektet Bitborg Web 2026-08-02 12:34:32 +00:00
Upphovsperson
Ägare

Retarget: Kanidm is being replaced by Keycloak before launch (bitborg/bitborg-docs#127). Backup codes become Keycloak recovery codes.

Retarget: Kanidm is being replaced by Keycloak before launch (bitborg/bitborg-docs#127). Backup codes become Keycloak recovery codes.
supernaut ändrade titeln från docs: document backup codes for users who sign in with password + TOTP till docs: document recovery codes for users who sign in with password + TOTP 2026-10-12 18:04:13 +00:00
Upphovsperson
Ägare

Done. faq/{en,sv}/accounts-recovery-codes.md and the Recovery codes section in guides/{en,sv}/accounts.md cover what the codes are and where to create them. The in-flow prompt at enrolment is a theme change and stays with bitborg-keycloak#2.

Done. `faq/{en,sv}/accounts-recovery-codes.md` and the Recovery codes section in `guides/{en,sv}/accounts.md` cover what the codes are and where to create them. The in-flow prompt at enrolment is a theme change and stays with bitborg-keycloak#2.
Logga in för att delta i denna konversation.
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-web#167
Ingen beskrivning angiven.