Skip to content

get-convex/better-auth

Repository files navigation

Convex + Better Auth

npm version

Use Better Auth with Convex 🔥

Important

The Convex Better Auth component is in early alpha development.

If your use case isn't supported, a plugin doesn't work, you hit a bug, etc, please open a GitHub issue or reach out on Discord.

Full documentation and guides: 👉 convex-better-auth.netlify.app

Running examples

Note: The examples are not starters - the dependencies are set up to work locally within this repo. They can be adapted for standalone use, but are intentionally not set up for it.

  1. Clone or fork the repo
  2. Install root dependencies
npm install
  1. Change to one of the example directories and install dependencies
cd examples/<example-name>
npm install
  1. If you haven't run this example before, initialize the database
npx convex dev --once
  1. Run the example
npm run dev

If you're making changes to the component, open a separate terminal and run the build watch task

npm run build:watch

Packages

No packages published

Contributors 6