Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Integrates Better Auth into TypeScript apps for email/password, OAuth, two-factor, passkeys, organizations, sessions, and migrations.
65% 100%+35 ptsof test cases passed
Passed 23 of 23 test cases with the skill, and 15 of 23 without it.
This test ran on v1. v2 is the current version and hasn’t been tested on gemini-3.6-flash yet.
3 of 3 safety checks passed
Not used yet
A guide to integrating the TypeScript-first, framework-agnostic authentication framework. First verify that the current project actually uses or is evaluating Better Auth; do not replace a different authentication solution on your own.
Official documentation: https://better-auth.com/docs
npm install better-auth
BETTER_AUTH_SECRET=min-32-character-secret # openssl rand -base64 32
BETTER_AUTH_URL=https://example.com
Define baseURL and secret in the configuration only when the environment variables are not set.
npx @better-auth/cli@latest generate # Generate a schema for Prisma/Drizzle
npx @better-auth/cli@latest migrate # Apply the schema (built-in adapter)
Run the CLI again after adding a plugin.
// lib/auth.ts
Published skills whose descriptions closely match this one, with their benchmark result.
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.