Found by the live M-MIG-5 check (POST /v1/tenants with admin_email on staging): org + user were created but the member call failed with 400 User does not exist — Keycloak 26 takes the bare user id (JSON string) as the body of POST /organizations/{id}/members. Also PUTs the tenant_id org attribute after create, which KC 26 ignores on create. Stub test enforces both.
Found by the live M-MIG-5 check (`POST /v1/tenants` with `admin_email` on staging): org + user were created but the member call failed with `400 User does not exist` — Keycloak 26 takes the bare user id (JSON string) as the body of `POST /organizations/{id}/members`. Also PUTs the `tenant_id` org attribute after create, which KC 26 ignores on create. Stub test enforces both.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
https://claude.ai/code/session_01DmXxNULoSNPvjF7buKipsB
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
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Found by the live M-MIG-5 check (
POST /v1/tenantswithadmin_emailon staging): org + user were created but the member call failed with400 User does not exist— Keycloak 26 takes the bare user id (JSON string) as the body ofPOST /organizations/{id}/members. Also PUTs thetenant_idorg attribute after create, which KC 26 ignores on create. Stub test enforces both.🤖 Generated with Claude Code
https://claude.ai/code/session_01DmXxNULoSNPvjF7buKipsB
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