fix(keycloak): assign kc-admin-api scope for 26.8.2 #915
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-infra!915
Läser in…
Hänvisa till i nytt ärende
Ingen beskrivning angiven.
Ta bort grenen "fix/keycloak-admin-api-scope"
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 26.8.2 fixes CVE-2026-19688 (GHSA-5624-rq7x-6m4q, upstream keycloak/keycloak#54902). The admin REST API now returns 401 for tokens without the new
kc-admin-apiclient scope. The migration assigns that scope only toadmin-cli,security-admin-consoleand bootstrap clients, so ouropentofuclient and the service accounts lost admin access. That was the failure behind the revert in #914.Changes:
kc-admin-apias a default scope toopentofu(master) and to the three service-account clients. The list is shared inlocal.admin_api_default_scopesand keeps the defaults the clients already had.keycloak_image_tagto26.8.2-1.Verified locally on the real images with a split hostname/hostname-admin setup: 26.8.1-1 gives 200, 26.8.2-1 gives 401, and 200 after the scope is assigned. A bootstrap service client on 26.8.2 gets the scope and can apply. Not yet run on staging or prod.
Refs bitborg/bitborg-keycloak#33