feat(auth): create accounts through the keycloak admin api #328
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-web!328
Läser in…
Hänvisa till i nytt ärende
Ingen beskrivning angiven.
Ta bort grenen "feat/keycloak-accounts"
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?
Closes #311.
Do not merge before bitborg/bitborg-infra#631 is applied to prod. Prod web tracks
latest. Without the pin, this merge ships a Keycloak portal to a Kanidm prod.What
src/lib/kanidm.tsis replaced bysrc/lib/keycloak.ts: client-credentials token forbitborg-web-admin, create user with groups, exact lookup, profile read-merge-PUT, delete on rollback,ent_renovaterole mapping, action email.view-realm.entitlementsread for the panel. Existing sessions sign in again once.OIDC_ISSUER, RS256 pinned,client_secret_basicchecked, logout through the end-session endpoint.KEYCLOAK_URL,KEYCLOAK_REALM,KEYCLOAK_ADMIN_CLIENT_ID,KEYCLOAK_ADMIN_CLIENT_SECRETreplaceKANIDM_*.Verified on staging Keycloak
With
bitborg-web-admin: create with groups 201, lookup 200, PUT 204, role map and unmap 204, available roles 200, action email permission passes, delete 204.Still to verify on staging after merge
Sign-up with passkey and with password through first Forgejo sign-in, resend, Renovate toggle, logout, profile change.
Tests
589 pass. Lint, check, build and e2e pass.