Black Friday!-$150 off
home

Expo Better Auth Template for React Native Apps

Expo + Better Auth mobile app template: email, magic link, OTP, Apple, Google and GitHub sign-in, 2FA, and one auth backend shared with your Next.js app.

Expo
+
Better Auth
BLACK FRIDAY: -$150 off ends in 9d1h45m24s
Lee RobinsonMarcus QuinnVadym PetrychenkoEric RoupeRodrigo Sumioshi
trusted by 394+ founders
TurboStarter demo
What makes it different?

Focus on your product, not setup

Everything you need to launch your SaaS in no time.

Build for web, mobile, and browser extension simultaneously with a unified codebase.

export const billingRouter = new Hono()
  .post(
    "/checkout",
    validate(
      "json",
      z.object({ plan: z.object({ id: z.string() }) }),
    ),
    enforceAuth,
    async (c) => {
      logger.time("checkout");
      const result = await checkout({
        user: c.var.user,
        ...c.req.valid("json"),
      });

      await db.insert(orders).values({
        externalId: result.id,
        userId: c.var.user.id,
      });

      await sendEmail({
        template: EmailTemplate.INVOICE,
        to: c.var.user.email,
        variables: { user: c.var.user, ...result },
      });

      track("checkout.created", {
        userId: c.var.user.id,
        checkoutId: result.id,
      });

      logger.timeEnd("checkout");
      return c.json(result);
    },
  ).post("/webhook", (c) => webhookHandler(c.req.raw));

Comprehensive auth flow with email/password, magic link, social login, and two-factor authentication.

or continue with
Forgot password?

Subscriptions, one-time payments, metered usage, per-seat, and credits - with org billing and popular providers built in.

Publish all your apps to all users with a single command. No more manual work.

Wait! There's more!

25+ SaaS Ideas

Don't know what to build? We have 25+ ready-to-use ideas to get you started. Rated 5.0 by 100+ users.

Internationalization

Reach a global audience with built-in multi-language capabilities. Internationalization supported out of the box.

Organizations/teams

Group users together in organizations and assign roles or permissions to them. Best fit for B2B SaaS and RBAC structures.

AI-assisted development

Dedicated rules, skills, agents and commands for most popular AI editors and tools to generate code faster and more accurately.

SEO, Sitemaps & Marketing

Meta tags, social media images, store listing, sitemaps, marketing presence and more.

Landing Page

Conversion-ready marketing pages - hero, features, pricing, testimonials, waitlist, and newsletter signup — ready to ship.

Tips & Tricks

How to market your SaaS, tech stuff, SEO hacks, mobile reviews tricks and many, many more.

CLI

Create a new app with a single command - customize providers, bootstrap config and deploy right from your terminal.

AI integration

Built-in support for multiple providers allowing you to ship your next AI SaaS in minutes.

TurboStarter is an Expo Better Auth template: an Expo (React Native) app with sign-up, sign-in, password recovery, email verification, and two-factor authentication already built, talking to the same Better Auth server as your Next.js web app. You get ready-made auth screens, native Sign in with Apple on iOS and Sign in with Google on Android, and deep links that bring magic-link and OAuth users back into the app.

Most Expo Better Auth tutorials end at a working email login. The work that follows (deep link callbacks, trusted origins, native provider tokens, 2FA screens, and keeping mobile and web on one user table) is what this template covers.

Mobile and web share one auth backend. There is no separate mobile auth service: the Expo app calls the same Hono API and Better Auth instance as the Next.js app, so a user who signs up on the web can sign in on their phone.

What's included

A few details worth knowing before you pick a template:

  • Email verification is on by default for password sign-up and can't be switched off, for security reasons (user flow).
  • Better Auth supports about 30 OAuth providers. Apple, Google, and GitHub are wired up; others need credentials and a config entry (OAuth).
  • Deep links are already configured. The app scheme (turbostarter:// by default) is listed in Better Auth trustedOrigins, so magic-link and OAuth redirects only return to your app (deep linking).
  • Sessions stay on the device through the Better Auth Expo client, which stores session data and cookies in expo-secure-store. See the mobile auth security notes.
  • Organizations work on mobile too. Users can create organizations, accept invitations, and switch workspaces from iOS and Android with the same roles as the web app (mobile organizations).

How it works

Better Auth runs once, on the server. The shared config in packages/auth/src/server.ts registers Better Auth's expo() plugin next to the magic link, passkey, and anonymous plugins (auth configuration). The Expo app uses the Better Auth Expo client, which handles OAuth callbacks inside the in-app browser and attaches the session cookie to API requests.

What the mobile UI shows is a separate, Zod-validated config. You can show Apple only on iOS and Google only on Android:

apps/mobile/config/auth.ts
import { Platform } from "react-native";

import { authConfigSchema, type AuthConfig } from "@workspace/auth";

export const authConfig = authConfigSchema.parse({
  providers: {
    password: true,
    emailOtp: false,
    magicLink: false,
    anonymous: true,
    oAuth: [
      Platform.select({
        android: "google",
        ios: "apple",
      }),
      "github",
    ],
  },
}) satisfies AuthConfig;

You rarely need to edit that file. Environment variables override the defaults, so switching from password to magic link is two lines:

.env.local
EXPO_PUBLIC_AUTH_PASSWORD=false
EXPO_PUBLIC_AUTH_MAGIC_LINK=true

Native Apple sign-in follows Expo's AppleAuthentication API: check availability, show the system button, request name and email, then send the identity token to Better Auth to verify and create a session (Apple setup). Google uses the Android account chooser and the same server-side token check (Google setup).

Rename the scheme in two places

If you change the app scheme in apps/mobile/app.config.ts, update the matching entry in Better Auth trustedOrigins in the same change. Otherwise deep-link redirects after sign-in will be rejected.

What it does not include

Being clear here saves you a surprise later:

  • No biometric unlock (Face ID or fingerprint) out of the box. Add it with Expo's local authentication module if your app needs it.
  • Passkeys are a web feature in TurboStarter. The server has the passkey plugin, but the mobile docs don't list passkeys as a mobile sign-in method.
  • No SAML or enterprise SSO. Better Auth has an SSO plugin for OIDC and SAML 2.0; TurboStarter doesn't configure it.

Expo Better Auth vs a hosted auth SDK

Better Auth stores users and sessions in your own Postgres database through Drizzle, with no per-user auth bill. A hosted provider like Clerk gives you managed UI and dashboards, but your users live in their system and pricing is theirs to set. If you are deciding between them, read Better Auth vs Clerk vs NextAuth vs Supabase Auth, or the Clerk to Better Auth migration guide if you are moving an existing app.

New to React Native? The Expo guide for web developers covers the mobile side of the stack.

Who this template is for

  • Web developers adding an iOS and Android app to an existing Next.js SaaS
  • Teams that want one user table and one session model across web, mobile, and a browser extension
  • Founders who need App Store-friendly native Apple sign-in without writing the token exchange themselves
Sounds good?Now let's make it real. In minutes.
Try TurboStarter
Pricing

Your ticket to a $1M startup

Pay once and build unlimited projects with our powerful starter kits.

Compare all kits
BLACK FRIDAY: -$150 off ends in
9d1h45m24s
Core Kit

All SaaS features, ongoing updates, lifetime access and many more to help you ship faster.

$199$349

Lifetime license
Get lifetime access
  • AI-first codebase
  • Web boilerplate (Next.js)
  • Mobile boilerplate (React Native - Expo)
  • Browser extension boilerplate (WXT)
  • Billing
  • SEO, Marketing & Feature flags
  • Multi-tenancy - organizations/teams
  • Internationalization (i18n)
  • API, Auth & Admin
  • 1-click deployment
  • Transactional & marketing emails
  • Built-in MCP + CLI for common tasks
  • worth of exclusive perks
  • 25+ ready-to-launch SaaS ideas
  • Private Discord community
  • Lifetime updates

Prices in USD. VAT may apply. By purchasing, you agree to the EULA and Terms of Service.

Any doubts?

Book a FREE call or send us a message. Happy to help!

Testimonials

Loved by founders worldwide

Read why tech and non-tech (!) people are raving about TurboStarter and how it has accelerated their product launches.

Top SaaS starter kitby Vercel

Kudos for shipping! The landing page looks very nice.

Lee Robinson

Teacher @Cursor, prev @Vercel

I have to say, the approach to product/system design has really impressed me.It's truly become a gold standard that I look up to. Keep it up!

Marcus Quinn

Founder of @Evergreen

The best starter on the market, don't overthink it. Worth every penny. Just buy it!

Vadym Petrychenko

Founder of @Omichat

The coding setup and dev experience are top-notch. I'm shipping products faster than ever. Btw, already launched my first extension!

TurboStarter's solid architecture and built-in AI guidance let me ship faster without sacrificing quality. I've built projects for all 11 of my new clients with it.

Rodrigo Sumioshi

Founder of @Shibui

Revenue of ClaudeFast in one month period
Built with TurboStarter

TurboStarter exceeded my expectations - setup was super fast, and I was building features right away. If you want to skip boilerplate and move fast, this kit is for you!

Abdo El-Mobayad

Founder of @ClaudeFast

Showcase

What could you build with TurboStarter?

Below are some of the SaaS projects that have been built with our starter kit.

See all projects
world map
Community

Connect with like-minded people

Join our community to get feedback, support, and grow together with 1,000+ builders on board, let's ship it!

Join us

Frequently Asked Questions

Have another question? We've got answers. Contact us on Twitter or through our contact page.

See technical FAQ

Ship your startup everywhere. In minutes.

Don't burn tokens on setup and start building features on day one.

Get TurboStarter