Logo ready-to-use-auth
v1.0.4
Powered by Better Auth

Auth that's ready
on day one.

A production-ready Next.js 16 authentication starter. Clone it, configure your DB and providers, and have a fully working auth layer in minutes — then build your app on top. Every layer is customizable.

Get Started

Type-Safe Auth

Strict TypeScript throughout — zero any, full inference on session, errors, and callbacks.

10 OAuth Providers

Google, GitHub, Microsoft, Apple, Facebook, and more. Flip a boolean to enable each one.

Swappable UI Shell

Forms are purely presentational. Replace the entire UI in one import line without touching auth logic.

8 DB Adapters

Prisma, Drizzle, Kysely (pg / MySQL / SQLite / Bun), and MongoDB. Change one block in two files.

Dark Mode

System theme out of the box via next-themes. All components ship with dark: variants.

Route Protection

proxy.ts-based guard compatible with Next.js 16+. Server-side session checks, no redirect flash.