fix(signup): reject an email that already has an account #37

Merged
sharang merged 1 commits from fix/signup-email-taken into main 2026-09-23 22:09:01 +00:00
1 Commits
Author SHA1 Message Date
Sharang ParnerkarandClaude Opus 5.5 1d7e839a80 fix(signup): reject an email that already has an account
ci / shared (pull_request) Successful in 13s
ci / test (pull_request) Successful in 23m26s
ci / image (pull_request) Skipped
Signup created the tenant and the Keycloak organization before the
admin user; when the email already existed, provisioning failed after
the fact and left an admin-less workspace and an orphan organization,
while the portal told the person to check their inbox. createTenant now
asks Keycloak first and answers 409 email_taken without creating
anything.

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