Files
tenant-registry/internal
Sharang ParnerkarandClaude Opus 5.5 72be56d72a
ci / shared (pull_request) Successful in 12s
ci / test (pull_request) Successful in 23m35s
ci / image (pull_request) Skipped
fix(keycloak): keep email and names when writing user attributes
Keycloak 26 validates a user PUT against the declarative user profile and
clears email, firstName and lastName when the body leaves them out. The
registry wrote attributes with a body of only {attributes}, so every status
sync wiped the members' email addresses. Reprovision syncs the status right
after the invitation goes out; the action link then failed with "invalid
email address".

Attribute writes now read the full user, change the attributes in it and
write the whole representation back (SyncTenantStatus, ensureUserAttributes,
SyncClaims).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DmXxNULoSNPvjF7buKipsB
2026-09-28 09:20:33 +02:00
..