Skills DirectorySearch all skills ↗

AI agent skill · by @olorehq

Olore Better Auth 1.6.18

Local better-auth documentation reference (1.6.18). Better Auth documentation. Use for TypeScript authentication, OAuth, email/password, 2FA, organizations, sessions, and framework-agnostic auth.

Archived 2026-10-23 · Source updated 2026-09-18 · License: MIT. Check the original repository for the latest version.

SKILL.md instructions

# better-auth Documentation

Better Auth documentation. Use for TypeScript authentication, OAuth, email/password, 2FA, organizations, sessions, and framework-agnostic auth.

## Quick Reference

| Task | Entry Point |
|------|-------------|
| Getting started | `contents/introduction.mdx` |
| Installation | `contents/installation.mdx` |
| Basic usage | `contents/basic-usage.mdx` |
| Configuration options | `contents/reference/options.mdx` |
| Database adapters | `contents/adapters/` |
| OAuth providers | `contents/authentication/` |
| Plugins | `contents/plugins/index.mdx` |
| Framework integrations | `contents/integrations/` |
| Error reference | `contents/reference/errors/index.mdx` |

## When to use

Use this skill when the user asks about:
- Setting up authentication with Better Auth (email/password, OAuth, magic links, OTP, passkeys)
- Configuring social login providers (Google, GitHub, Apple, Microsoft, etc.)
- Using Better Auth plugins (2FA, organizations, admin, API keys, JWT, SSO, OIDC, etc.)
- Integrating Better Auth with frameworks (Next.js, Nuxt, Astro, SvelteKit, Hono, Express, etc.)
- Database adapter setup (Prisma, Drizzle, MongoDB, PostgreSQL, MySQL, SQLite)
- Session management, cookies, rate limiting, and security
- Migrating from other auth providers (NextAuth, Auth0, Clerk, Supabase)

## How to find information

1. **First**, read `TOC.md` for complete file listing organized by directory
2. Identify relevant section based on user's question
3. Read specific files for details

**TOC.md contains all files organized by directory - always check it first.**

Related skills