Email and Password Sign Up
The most common authentication method is email and password:With User Metadata
Store additional user information during signup:User metadata is stored in the
raw_user_meta_data column and is accessible in the JWT token. Don’t store sensitive information here.Email Confirmation
By default, Supabase requires email confirmation. Users receive a confirmation email with a link:Enable/Disable Email Confirmation
- Go to Authentication > Settings in your Supabase dashboard
- Toggle “Enable email confirmations”
Handle Confirmation Callback
app/auth/confirm/route.ts
Phone Sign Up
Register users with their phone number:Anonymous Sign Up
Allow users to explore your app without registration:Email Redirects
Customize where users are redirected after email confirmation:Complete Sign-Up Form Example
React Component
Password Requirements
Enforce strong passwords in your Supabase dashboard:- Minimum length (default: 6 characters)
- Require uppercase letters
- Require lowercase letters
- Require numbers
- Require special characters
Error Handling
Common signup errors:Next Steps
Sign In Users
Learn how to authenticate existing users
OAuth Providers
Add social login to your app
