Forgejo and Grafana sign-in through Keycloak #574
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-infra#574
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?
Point Forgejo and Grafana at Keycloak.
Bitborg Authin place withforgejo admin auth update-oauth(discovery URL under/realms/bitborg/, new secret,--group-claim-name groups --admin-group forgejo_admins). Same source id, so accounts keyed onsubstay linked.tasks/oidc-source.ymlto update an existing source, not only add one./realms/bitborg/protocol/openid-connect/. Role expression ongroups.Done when: both services sign in through Keycloak on staging and existing linked accounts resolve.
Depends on: #571
Epic: bitborg/bitborg-docs#127
Forgejo and Grafana sign-in through Keycloak is already implemented behind
kanidm_enabled. Prod keepstrue, so nothing switches before #575.oidc-source.ymlupdates the existing OAuth2 source in place (update-oauth --id), so the source id and linked accounts stay. The name becomesBitborg-id. Theforgejoclient's redirect is/user/oauth2/Bitborg-id/callback. Group claimgroups, admin groupforgejo_admins./realms/bitborg/protocol/openid-connect/. The role expression readsgroups(grafana_admins). The podman secret followsvault_keycloak_grafana_client_secretand rotates when it changes.grafanaclient is inopentofu/keycloakand enabled for prod.For the cutover window: the prod realm apply, the vault keys, flipping
keycloak_enabled: truetogether withkanidm_enabled: false(keycloak_enabledis false on prod today), and the reconciler v2 tag.Done at the cutover on 2026-10-11 (#659 B4 and B5). Prod: the Forgejo source was updated in place (id 2, now
Bitborg-id, linked accounts kept: before/after snapshot identical), and Grafana signs in through Keycloak. An operator account signed in to Forgejo, the portal and Grafana with a passkey. Staging covered password plus TOTP. Closing.