feat: add duplicate email detection via auth hook with fallback
- Add before-user-created hook function for server-side duplicate email detection - Implement fallback detection using identities array check (Supabase limitation) - Update signUpWithPassword to detect duplicate emails via hook errors or empty identities - Add error handling in login page to show duplicate email errors and auto-switch to login mode - Add auth hook setup documentation and test scripts - Add password reset and update password flows - Add email templates for signup confirmation and password reset
This commit is contained in:
1055
docs/specs/archive/bouwplan-auth-flow-complete-v1.0.md
Normal file
1055
docs/specs/archive/bouwplan-auth-flow-complete-v1.0.md
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user