Skip to content

[backend] handle orphaned auth user on signup failure #5

Description

@polter-dev

If supabase.auth.signUp() succeeds but the profile insert fails, an auth user exists with no profile row. Add cleanup logic to delete the auth user if profile creation fails.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions