@vortex-api/convex-auth
v3.2.0
Published
Convex-native auth server, component, and integration.
Readme
convex-auth
Convex-native authentication component, control plane, and server integration.
This is the main package most apps install. It runs users, sessions, identities, email/password, OAuth (Google/GitHub/Discord), TOTP 2FA, email verification, password reset, API keys, organizations, webhooks, and MCP auth inside your Convex backend — no separate auth server required.
Disclaimer: This is an independent, community-driven project. It is not affiliated with or endorsed by Convex Inc.
Install
pnpm add @vortex-api/convex-authQuick start
- Generate an RS256 key pair and set the
JWT_PRIVATE_KEYandJWKSenvironment variables on your Convex deployment. - Create
convex/auth.config.ts. - Mount the component in
convex/convex.config.ts. - Configure
convex/auth.ts. - Wire
convex/http.ts. - Wrap your React app with
ConvexAuthClientProviderfromconvex-auth/react.
See the root README for the complete quick start, JWT generation snippet, and examples.
License
Apache-2.0
