Source:
ocean/docs/SUPABASE_PRODUCTION_SETUP.md| ✏️ Edit on GitHub
Supabase Production Setup
Important: Update Your Supabase Dashboard
1. Add Production Redirect URLs
Go to: https://supabase.com/dashboard/project/fldiayolmgphysdwgsuk/auth/url-configuration
Add these URLs to the "Redirect URLs" section:
https://ocean-goldfish.vercel.apphttps://ocean-goldfish.vercel.app/auth/callback
2. Update Site URL (Optional)
If you want the production site as default:
- Change "Site URL" to:
https://ocean-goldfish.vercel.app
3. Current Auth Flow
Since we're using passwordless OTP:
- User enters email
- Receives 6-digit code via email
- Enters code on verification page
- Gets authenticated without redirects
The /auth/callback route is there as a fallback if Supabase ever sends tokens via URL.
Vercel Deployment
Your app is configured for Vercel deployment with:
- SPA routing support (all routes go to index.html)
- Proper build commands
- TypeScript checking
Environment Variables on Vercel
Make sure these are set in your Vercel project settings:
VITE_SUPABASE_URL=https://fldiayolmgphysdwgsuk.supabase.co
VITE_SUPABASE_ANON_KEY=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6ImZsZGlheW9sbWdwaHlzZHdnc3VrIiwicm9sZSI6ImFub24iLCJpYXQiOjE3NTM1NDI2MDMsImV4cCI6MjA2OTExODYwM30.7zQozCN9mXb1RFYjAY7TloIIngtn_-3bw3RL8MbLems
Testing Production
- Visit: https://ocean-goldfish.vercel.app
- Sign up with: ryan+prod1@goldfish.io (or similar)
- Check email for OTP code
- Verify and access dashboard