keycloak: turn off full scope on the service-account clients #785
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#785
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?
Keycloak logs a deprecation warning on every token request from the
bitborg-reconcilerservice account:The service-account clients in
opentofu/keycloak/service-accounts.tofudo not setfull_scope_allowed, so they get the defaulttrue. The sign-in clients inclients.tofualready set it tofalse.Set
full_scope_allowed = falseon the service-account clients and add the role scope mappings each one needs. The reconciler holdsrealm-managementview-realm(reconciler_view_realm), so its token must still carry that role. Check whether the portal and billing clients need any role in their tokens under permissions v2.Done when no client logs the warning, the reconciler run status stays 0, and the Keycloak portal and billing health gates pass after a
tofu applyinopentofu/keycloak.