Convex Auth

Convex Auth

Open Source

First-party auth for Convex, with sessions stored in your own tables.

Authentication

Published 27 September 2026

Part ofConvex Convex

Scores

Popularity
0/5
Learning Curve
0/5
Flexibility
0/5
Performance
0/5
Portability
0/5

About Convex Auth

Convex Auth is Convex's own first-party authentication library, distributed as the @convex-dev/auth package. It handles OAuth providers (GitHub, Google), email sign-in, and password authentication, storing users and sessions directly as Convex tables rather than in a separate auth service.

It sits alongside third-party options that also integrate with Convex — Clerk, Auth0, and Better Auth (via the official @convex-dev/better-auth adapter) — as the option maintained by the Convex team itself, with no extra service to configure or pay for separately. Projects that need enterprise SSO, more mature admin tooling, or auth shared across non-Convex services typically reach for one of those instead.

Because it is implemented as ordinary Convex functions rather than a separate hosted service, there is nothing extra to deploy — auth logic runs in the same backend as the rest of the app's queries and mutations. Beyond OAuth and passwords, it supports magic-link and one-time-code email sign-in, and because sessions are just Convex data, the React and Next.js client hooks pick up sign-in and sign-out changes reactively, the same way any other Convex query updates live in the UI.

Key Features

  • OAuth, email, and password sign-in out of the box
  • Magic-link and one-time-code email sign-in
  • Sessions and users stored directly in Convex tables
  • Runs as ordinary Convex functions, with no separate service to deploy
  • Reactive React and Next.js client hooks for sign-in state
  • Maintained by the Convex team, open source under Apache 2.0

Pros

  • No separate auth service to configure or pay for — sessions and users live in Convex tables you already have
  • Covers OAuth, email, and password sign-in out of the box in one first-party package
  • Maintained directly by the Convex team, so it stays in step with the rest of the platform

Cons

  • Pre-1.0 and less feature-rich than mature dedicated providers like Clerk or Auth0
  • Tied to Convex; there is no path to use it outside a Convex backend
  • Enterprise features such as SSO are not part of the package; teams that need them use Clerk or Auth0 instead

Convex Auth Pricing

Open Source

Tech Stacks with Convex Auth

Convex + Next.js

Project

Full-stack Next.js app with Convex as the reactive backend: real-time database, authentication, and server functions all in one platform.

Frontend

Programming

Databases

Hosting

Authentication

Auth:
Deploy on:
CI/CD add-on:
Containerization add-on:
Email add-on:
Payments add-on:
Styling add-on:
Analytics add-on:

Convex + React

Project

React single-page application with Convex as the reactive backend: real-time data sync and serverless functions without infrastructure management.

Frontend

Programming

Databases

Hosting

Authentication

Auth:
Deploy on:
CI/CD add-on:
Containerization add-on:
Observability add-on:
Email add-on:
Payments add-on:
Styling add-on:
Analytics add-on:

Tools Related to Convex Auth

Part of(1)

Convex Auth is Convex's own first-party authentication library (@convex-dev/auth), maintained by the Convex team.

Learning Resources

No resources yet — check back soon.

Vendor

Details

Maintained
Yes
Primary language
TypeScript
Domain
Auth
GitHub stars
183
Stars updated
2026-09-23