Convex Auth
Open SourceFirst-party auth for Convex, with sessions stored in your own tables.
Published 27 September 2026
Scores
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 SourceTech Stacks with Convex Auth
Convex + Next.js
ProjectFull-stack Next.js app with Convex as the reactive backend: real-time database, authentication, and server functions all in one platform.
Convex + React
ProjectReact single-page application with Convex as the reactive backend: real-time data sync and serverless functions without infrastructure management.
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
Convex
Website →Details
- Maintained
- Yes
- Primary language
- TypeScript
- Domain
- Auth
- GitHub stars
- 183
- Stars updated
- 2026-09-23