Firebase Auth → Supabase Auth
mediumMove just the auth layer from Firebase to Supabase without touching Firestore. Useful when migrating step-by-step.
Enable email/password and OAuth providers matching your Firebase auth methods.
Use Firebase Admin SDK to export user list with emails and provider info.
npx firebase-admin-node export-users > users.json
Use Supabase Management API to create users. Passwords can't be migrated — send reset emails.
curl -X POST 'https://api.supabase.com/v1/projects/{id}/auth/users' -H 'Authorization: Bearer $SUPABASE_ACCESS_TOKEN'npm uninstall firebase && npm install @supabase/supabase-js
signInWithEmailAndPassword → supabase.auth.signInWithPassword(). onAuthStateChanged → supabase.auth.onAuthStateChange().
Supabase JWT format differs. Update any server-side JWT verification to use Supabase's JWKS endpoint.
What this migration involves
Moving from Firebase Auth to Supabase Auth is rated medium and takes about 4-8h on a typical project. The guide breaks it into 6 steps, 3 of which ship with runnable commands and 1 with a verification check.
Related migrations
FAQ
How long does migrating from Firebase Auth to Supabase Auth take?
Around 4-8h for a typical project — 6 steps, difficulty rated medium, 3 of them with copy-paste commands.
Is moving from Firebase Auth to Supabase Auth reversible?
No reverse guide is tracked yet, so treat this as a one-way move and keep a full export of your Firebase Auth data before you start.
What does Supabase Auth cost compared to Firebase Auth?
Pricing for both tools is contact-based or not tracked yet.