feat(demo): Multi-IAM Federation dogfooding stack #30
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
Changes
Infrastructure (
deploy/demo-federation/)docker-compose.yml— 4 services: Keycloak, OpenLDAP, mock gateway, OPA.env.example— ports and admin passwordskeycloak/*.json— 5 realm configs (2 IdP source + 3 tenant)openldap/seed.ldif— test usersgateway/server.py— JWT issuer/audience validatorgateway/policy.rego— OPA federation isolation policyScripts (
scripts/demo-federation/)00-setup.shthrough05-stoa-integration.sh+99-cleanup.shREADME.md— quick start + 5-min walkthroughQuick Start
./scripts/demo-federation/00-setup.sh ./scripts/demo-federation/04-test-isolation.sh # 9 tests ./scripts/demo-federation/99-cleanup.shTest plan
00-setup.shstarts all containers successfully01-login.shauthenticates users in all 3 realms (OIDC, SAML, LDAP)04-test-isolation.shpasses 9/9 (3 same-realm OK + 6 cross-realm denied)99-cleanup.shtears down cleanlyRelated
🤖 Generated with Claude Code