fix(keycloak): KC 26 org member body is the bare user id; set org tenant_id #27

Merged
sharang merged 2 commits from fix/kc26-org-member into main 2026-09-12 09:39:28 +00:00
2 Commits
Author SHA1 Message Date
Sharang ParnerkarandClaude Fable 5.1 43e0fec9ed chore: gofmt
ci / shared (pull_request) Successful in 13s
ci / test (pull_request) Successful in 22m15s
ci / image (pull_request) Skipped
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DmXxNULoSNPvjF7buKipsB
2026-09-12 11:13:41 +02:00
Sharang ParnerkarandClaude Fable 5.1 b1156f259c fix(keycloak): KC 26 org member body is the bare user id; set org tenant_id
ci / shared (pull_request) Successful in 11s
ci / test (pull_request) Failing after 4m53s
ci / image (pull_request) Skipped
Live stage run: CreateOrgAndInvite created the org and the user but
POST /organizations/{id}/members with {"id": …} answered 400 "User does
not exist" — Keycloak 26 expects the id as a JSON string. Also writes
the tenant_id attribute with a PUT after create (ignored on create).

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DmXxNULoSNPvjF7buKipsB
2026-09-12 11:13:29 +02:00