Google OAuth only

Add polished Google sign-in without leaving your Next.js stack.

Better Auth now handles sessions while Neon stores users, accounts, and sessions in Postgres.

Server-validated sessions

Protected pages use Better Auth on the server before rendering any private content.

Neon-backed persistence

Auth records are written to your Neon Postgres database through Drizzle and the Neon serverless driver.

Ready for `DATABASE_URL`, `GOOGLE_OAUTH_CLIENT`, and `GOOGLE_OAUTH_SECRET`.
Better Auth + Neon
Authentication is ready
Sign in with Google to create a Better Auth session backed by your Neon Postgres database.
Checking your session...