What you get
Supabase Auth
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
Clerk
This wires Clerk into the app: email/password with a 6-digit code step, Sign in with Apple, Google SSO, and a hosted user database you never have to run. You get src/app/(auth)/{sign-in,sign-up,reset} with src/screens/auth/*, the redirect hook src/hooks/use-auth-redirect.ts (signed-out users land on /(auth)/sign-in, signed-in users leave (auth), onboarding wins first), and, with --with-examples, an example at src/app/examples/auth.tsx. @/lib/auth keeps the same API whichever option you pick - pick Clerk when you want user management, organizations and a polished dashboard without owning a database.
- Screens added
/(auth)/reset,/(auth)/sign-in,/(auth)/sign-up- Tests included
- 2
- npm packages
@clerk/backend ^3.19.0,@clerk/expo ^4.6.8,expo-apple-authentication ~58.0.3,expo-auth-session ~58.0.18,expo-crypto ~58.0.8,expo-secure-store ~58.0.3- Runs in Expo Go
- Yes
Better Auth
This is self-hosted auth: no third-party dashboard, no per-user pricing, and the server lives in your own tree at src/server/auth.ts, mounted at /api/auth/* through src/app/api/auth/[...all]+api.ts. It ships email/password plus Apple and Google (each enabled only when its keys are set), the screens src/app/(auth)/{sign-in,sign-up,reset} with src/screens/auth/*, and src/hooks/use-auth-redirect.ts (signed-out → /(auth)/sign-in, signed-in inside (auth) → /). It requires backend/api-routes, since it needs somewhere to run. @/lib/auth keeps the same API whichever option you pick - pick Better Auth when you want the user table to be yours.
- Screens added
/(auth)/reset,/(auth)/sign-in,/(auth)/sign-up- Tests included
- 5
- npm packages
@better-auth/expo ^1.7.5,better-auth ^1.7.5,expo-network ~58.0.5,expo-secure-store ~58.0.3- 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
Supabase Auth
| Key | Where it goes | Required |
|---|---|---|
EXPO_PUBLIC_SUPABASE_URL | App (.env) | Yes |
EXPO_PUBLIC_SUPABASE_ANON_KEY | App (.env) | Yes |
Clerk
| Key | Where it goes | Required |
|---|---|---|
EXPO_PUBLIC_CLERK_PUBLISHABLE_KEY | App (.env) | Yes |
CLERK_SECRET_KEY | Server only (no EXPO_PUBLIC_ prefix) | Optional |
CLERK_JWT_KEY | Server only (no EXPO_PUBLIC_ prefix) | Optional |
Better Auth
| Key | Where it goes | Required |
|---|---|---|
EXPO_PUBLIC_API_URL | App (.env) | Optional |
BETTER_AUTH_SECRET | Server only (no EXPO_PUBLIC_ prefix) | Yes |
BETTER_AUTH_URL | Server only (no EXPO_PUBLIC_ prefix) | Yes |
DATABASE_URL | Server only (no EXPO_PUBLIC_ prefix) | Optional |
APPLE_CLIENT_ID | Server only (no EXPO_PUBLIC_ prefix) | Optional |
APPLE_CLIENT_SECRET | Server only (no EXPO_PUBLIC_ prefix) | Optional |
GOOGLE_CLIENT_ID | Server only (no EXPO_PUBLIC_ prefix) | Optional |
GOOGLE_CLIENT_SECRET | Server only (no EXPO_PUBLIC_ prefix) | Optional |
Set it up
Supabase Auth
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.
Clerk
bun run setup --auth clerk- Clerk: create an application, copy the Publishable key (API keys) into .env as EXPO_PUBLIC_CLERK_PUBLISHABLE_KEY.
- Clerk: API routes that need the caller (payments/stripe) verify the session token with @clerk/backend - copy the Secret key into .env as CLERK_SECRET_KEY (server-only; for EAS Hosting also
eas env:set --environment production --visibility sensitive). - Clerk: User & Authentication → Email → enable Email address + Password + Email verification code.
- Clerk: User & Authentication → Settings → enable "Allow users to delete their accounts" (Settings → Delete account calls user.delete()).
- Clerk: SSO connections → Apple: add the iOS bundle id (native Sign in with Apple); Google: add your own OAuth client for production.
- Clerk: Native applications → add the iOS bundle id / Android package so native flows are allowed.
- Apple: enable the Sign in with Apple capability for the bundle id (EAS does it on the first build).
- Dev builds: the @clerk/expo plugin raises the iOS deployment target to 17.0.
Then bun run doctor lists any key still missing, with a link to where you get it. The full guide: Clerk docs.
Better Auth
bun run setup --auth better-auth- Better Auth:
openssl rand -base64 32→ BETTER_AUTH_SECRET in .env; BETTER_AUTH_URL = the API routes origin (http://<lan-ip>:8081 in dev, the EAS Hosting URL in prod) - Better Auth: the shipped src/server/auth.ts uses the in-memory adapter (users vanish on restart) - swap it for Postgres/Drizzle/Prisma before shipping (docs.md)
- Apple sign-in: create a Services ID (APPLE_CLIENT_ID) + key (APPLE_CLIENT_SECRET JWT) at developer.apple.com and add BETTER_AUTH_URL/api/auth/callback/apple as a return URL
- Google sign-in: create a Web OAuth client at console.cloud.google.com with BETTER_AUTH_URL/api/auth/callback/google as an authorised redirect URI
- Set the same server keys on EAS Hosting:
eas env:set --environment production --name BETTER_AUTH_SECRET --value … --visibility sensitive(EAS Hosting can't deploysecretvariables), theneas deploy --environment production
Then bun run doctor lists any key still missing, with a link to where you get it. The full guide: Better Auth docs.
Pairs with
Needs: Storage (expo-sqlite/kv-store or MMKV or AsyncStorage); Backend (API routes). 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)
- Expo + Clerk: how it compares
- Clerk setup guide (docs)
- Expo + Better Auth: how it compares
- Better Auth setup guide (docs)
- Supabase auth in Expo: email, Apple and Google
- Expo auth: Clerk vs Supabase vs Better Auth
- Example apps built on the modules
- Every module in the catalog
Questions
Which ReadyNative tier includes sign-in?
Pro. Auth is a Pro category: the free tier and Starter ship it switched off. Pro is one payment with lifetime updates.
Does sign-in run in Expo Go?
Supabase Auth: Expo Go OK. Clerk: Expo Go OK for JS flows. Better Auth: Expo Go OK.
Which keys does sign-in need?
Supabase Auth: In the app's .env: EXPO_PUBLIC_SUPABASE_URL, EXPO_PUBLIC_SUPABASE_ANON_KEY. Clerk: In the app's .env: EXPO_PUBLIC_CLERK_PUBLISHABLE_KEY. Server-only, never EXPO_PUBLIC_: CLERK_SECRET_KEY (optional), CLERK_JWT_KEY (optional). Better Auth: In the app's .env: EXPO_PUBLIC_API_URL (optional). Server-only, never EXPO_PUBLIC_: BETTER_AUTH_SECRET, BETTER_AUTH_URL, DATABASE_URL (optional), APPLE_CLIENT_ID (optional), APPLE_CLIENT_SECRET (optional), GOOGLE_CLIENT_ID (optional), GOOGLE_CLIENT_SECRET (optional). bun run doctor lists any that are missing.
Which sign-in provider should I pick?
Pick Supabase if you also want a Postgres database and row-level security behind the same account - it's the cheapest path from zero to a real backend. Pick Clerk if you'd rather buy user management outright: hosted accounts, a good dashboard, organizations, and a code-based sign-up flow that's already wired here. Pick Better Auth if the user table has to be yours - it runs on your own API routes (backend/api-routes is required), with no third-party dashboard and no per-user pricing, in exchange for owning the database and the mail provider.
Can I switch sign-in providers 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 it include Sign in with Apple?
Yes, in all three. Supabase Auth and Clerk use native Sign in with Apple; Better Auth enables Apple and Google when their keys are set.