What you get
This gives you email/password, Sign in with Apple and Google sign-in on top of @supabase/supabase-js, plus the screens to use them: src/app/(auth)/{sign-in,sign-up,reset,new-password} with src/screens/auth/*, a redirect hook in src/hooks/use-auth-redirect.ts that sends signed-out users to /(auth)/sign-in and signed-in users out of (auth) (onboarding still wins first), and, with --with-examples, an example at src/app/examples/auth.tsx. @/lib/auth keeps the same API whichever option you pick, so auth.useSession() and auth.signOut() read the same here as under Clerk or Better Auth - what you also get from Supabase is a Postgres database and row-level security behind the same account. The session is persisted through the storage adapter (@/lib/storage), so it follows whichever storage module you selected.
- Screens added
/(auth)/new-password,/(auth)/reset,/(auth)/sign-in,/(auth)/sign-up- Tests included
- 2
- npm packages
@supabase/supabase-js ^2.116.0,expo-apple-authentication ~58.0.3,expo-auth-session ~58.0.18,expo-crypto ~58.0.8- Runs in Expo Go
- Yes
Which tier includes it
Pro. Auth is a Pro category: the free tier and Starter ship it switched off. Pro is one payment with lifetime updates. See pricing.
What needs a key
| Key | Where it goes | Required |
|---|---|---|
EXPO_PUBLIC_SUPABASE_URL | App (.env) | Yes |
EXPO_PUBLIC_SUPABASE_ANON_KEY | App (.env) | Yes |
Set it up
bun run setup --auth supabase- Supabase: create a project, copy Project URL + anon/publishable key from Settings → API into .env (EXPO_PUBLIC_SUPABASE_URL, EXPO_PUBLIC_SUPABASE_ANON_KEY).
- Supabase: run supabase/migrations/20260921000000_delete_user.sql (SQL editor or
supabase db push) - the Settings → Delete account row calls rpc('delete_user'). - Supabase: Authentication → URL Configuration → add
readynative://andreadynative://new-password(your scheme) to Redirect URLs - Google sign-in and the password-reset link return through them. - Supabase: Authentication → Providers → Apple: enable, add the iOS bundle id to Client IDs (native Sign in with Apple).
- Supabase: Authentication → Providers → Google: enable with a Web OAuth client id/secret from Google Cloud Console.
- Apple: enable the Sign in with Apple capability for the bundle id (EAS does it on the first build).
Then bun run doctor lists any key still missing, with a link to where you get it. The full guide: Supabase Auth docs.
Pairs with
Needs: Storage (expo-sqlite/kv-store or MMKV or AsyncStorage). Setup asks for it in the same run.
- RevenueCat: RevenueCat logs in with the signed-in user's id, so purchases follow the account across devices.
- Stripe Checkout: Stripe Checkout needs a signed-in user; its API routes read the caller from the session.
Read more
- Expo + Supabase Auth: how it compares
- Supabase Auth setup guide (docs)
- Supabase auth in Expo: email, Apple and Google
- Example apps built on the modules
- Every module in the catalog
Questions
Which ReadyNative tier includes Supabase Auth?
Pro. Auth is a Pro category: the free tier and Starter ship it switched off. Pro is one payment with lifetime updates.
Does Supabase Auth run in Expo Go?
Yes: Expo Go OK.
Which keys does Supabase Auth need?
In the app's .env: EXPO_PUBLIC_SUPABASE_URL, EXPO_PUBLIC_SUPABASE_ANON_KEY. bun run doctor lists any that are missing.
Can I switch from Supabase Auth to another option later?
Yes. @/lib/auth keeps the same API in every auth option (Supabase Auth, Clerk and Better Auth), so screens written against it keep working when you switch.
Does the template include a Supabase database?
The module wires Supabase Auth. The same Supabase project gives you a Postgres database with row-level security behind that account; the module ships one migration, delete_user, for account deletion.
Is account deletion included?
Yes. Settings has a Delete account row that calls rpc('delete_user'). Run the migration in supabase/migrations/ once to create the function.