feat(keycloak): add tenant-context client scope + M7.1 test users #41
Reference in New Issue
Block a user
Delete Branch "feat/m7.1-realm-claims"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Adds the breakpilot platform multi-tenancy claims to the dev realm so M7.x products (starting with
compliance-scanner-agent) can authenticate against the local CERTifAI stack end-to-end.tenant-contextclient scope, default on all three clientstenant_id,tenant_slug,tenant_status,plan(strings);org_roles,products(multi-valued)tenant_statusbranch:admin@certifai.local(acme, active, IT_ADMIN + CXO)user@certifai.local(acme, active, USER)trial@acme.local(trialco, trial)frozen@acme.local(frozenco, frozen) -> 402 on writesarchived@acme.local(archiveco, archived) -> 410 alwaysdirectAccessGrantsEnabled: trueoncertifai-dashboardfor scripted local testingTest plan
docker compose up -d keycloakboots cleanlyNotes
This is the dev realm only —
KC_DB: dev-mem, in-memory, recreated on every container start. Production realms are not affected.View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.