feat!: read identities and entitlements from keycloak #79
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-auth-reconciler!79
Läser in…
Hänvisa till i nytt ärende
Ingen beskrivning angiven.
Ta bort grenen "feat/keycloak-client"
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?
The reconciler reads identities and entitlements from Keycloak's admin REST API instead of Kanidm (ADR 0044). Breaking: 2.0.0. Do not tag
v2.0.0until a dry run against the staging realm passes.What
src/keycloak-http.tsreplaces the Kanidm client.bitborg-reconciler, cached and refreshed before expiry.first/max, 100 per page). Any failed page aborts the run.login_name.displayName, falling back tofirstName lastName. An absent value stays absent, so the never-clear rule holds.Configuration (breaking)
KEYCLOAK_URL,KEYCLOAK_REALM,KEYCLOAK_CLIENT_IDandKEYCLOAK_CLIENT_SECRETreplaceKANIDM_URLandKANIDM_TOKEN.KANIDM_GROUP_*variables split by kind:KEYCLOAK_GROUP_TIER_BASIC,_TIER_PRO,_TIER_TRIAL,_PARTICIPANT;KEYCLOAK_ROLE_ORGS,_RUNNERS,_RENOVATE(the last only whenRENOVATE_ENABLED=true).KEYCLOAK_URLmust be an internal address, because the edge blocks/admin/*.Checks
keycloak-http.tsis at 97% statements.ent_renovate;podman buildpasses.Not verified
No live Keycloak yet. The staging dry run against the realm from bitborg/bitborg-infra#571 confirms the endpoints, paging and the client's permissions.
Refs #78