Email (Password) Auth
Disable email confirmations in Supabase:- Auth → Settings → Disable “Enable email confirmations”
- Save
Google Sign-In
- Google Cloud Console → Enable Google Sign-In API
- Create OAuth Clients:
- Web: set redirect
https://your-project.supabase.co/auth/v1/callback
- iOS: use your bundle id
com.yourcompany.yourapp
- Web: set redirect
- Supabase → Auth → Providers → Google → add Web Client ID + Secret
- App config:
Apple Sign-In (iOS)
Prereqs: Apple Developer account + App registered.- Apple Developer → Identifiers → Enable “Sign In with Apple”
- Supabase → Auth → Providers → Apple
- Services ID = your bundle id (e.g.
com.yourcompany.yourapp
) - Generate Client Secret JWT via Apple Keygen
- Save in Supabase and also in
supabase/functions/.env
as:
- Services ID = your bundle id (e.g.
- App config:
Apple JWT tokens expire every ~6 months. Set a reminder to rotate.