ADR: Keycloak replaces Kanidm as the identity provider #129

Stängd
öppnade 2026-10-08 14:52:31 +00:00 av supernaut · 0 kommentarer
Ägare

Record the move from Kanidm to Keycloak at auth.bitborg.se.

  • New ADR (next free number) superseding ADR 0014. Cover the sign-in baseline, why Kanidm could not meet it in place, why Pocket ID was rejected (no password plus second factor), and the accepted costs (JVM memory, quarterly minors, upstream governance, theme upkeep).
  • Entitlement model: flat tier groups plus ent_* realm roles mapped onto the tier groups. Token carries a groups claim and an entitlements claim.
  • Recovery: reset by email changes the password only, never the second factor. A lost second factor uses a recovery code, a second passkey, or an operator reset after an identity check.
  • Admin surface: /admin/* blocked at the edge, admin API on the internal network only.
  • Realm configuration is declarative in OpenTofu.
  • Amend ADR 0040 section 1, ADR 0016, ADR 0036, ADR 0038 (Keycloak owns identity data and its edit surface, username stays immutable), and wording in ADR 0017, 0035, 0037, 0041, 0042.

Done when: the ADR and amendments are merged and the ADR index lists the supersession.

Epic: #127

Record the move from Kanidm to Keycloak at `auth.bitborg.se`. - [ ] New ADR (next free number) superseding ADR 0014. Cover the sign-in baseline, why Kanidm could not meet it in place, why Pocket ID was rejected (no password plus second factor), and the accepted costs (JVM memory, quarterly minors, upstream governance, theme upkeep). - [ ] Entitlement model: flat tier groups plus `ent_*` realm roles mapped onto the tier groups. Token carries a `groups` claim and an `entitlements` claim. - [ ] Recovery: reset by email changes the password only, never the second factor. A lost second factor uses a recovery code, a second passkey, or an operator reset after an identity check. - [ ] Admin surface: `/admin/*` blocked at the edge, admin API on the internal network only. - [ ] Realm configuration is declarative in OpenTofu. - [ ] Amend ADR 0040 section 1, ADR 0016, ADR 0036, ADR 0038 (Keycloak owns identity data and its edit surface, username stays immutable), and wording in ADR 0017, 0035, 0037, 0041, 0042. Done when: the ADR and amendments are merged and the ADR index lists the supersession. Epic: #127
supernaut lade till detta till projektet Bitborg Docs 2026-10-08 14:53:47 +00:00
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-docs#129
Ingen beskrivning angiven.