Skills DirectorySearch all skills ↗

AI agent skill · by @olorehq

Olore Better Auth Latest

Local better-auth documentation reference (latest). 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 is a framework-agnostic, universal authentication and authorization library for TypeScript. It provides email/password, OAuth/social login, 2FA, passkeys, organizations, multi-session, SSO, and a plugin ecosystem — all self-hosted with full control over your database.

## Quick Reference

| Task | Entry Point |
|------|-------------|
| Install | `contents/installation.mdx` |
| Basic usage | `contents/basic-usage.mdx` |
| Database adapters | `contents/adapters/` |
| Social/OAuth providers | `contents/authentication/` |
| Core concepts | `contents/concepts/` |
| Framework integrations | `contents/integrations/` |
| Plugins | `contents/plugins/` |
| Config options | `contents/reference/options.mdx` |
| Error reference | `contents/reference/errors/` |

## When to use

Use this skill when the user asks about:
- Setting up authentication (email/password, OAuth, magic link, passkeys, 2FA, OTP)
- Integrating Better Auth with Next.js, Nuxt, SvelteKit, Astro, Hono, Express, or other frameworks
- Database adapters (Drizzle, Prisma, Mongoose, Postgres, MySQL, SQLite)
- Session and user management
- Plugins (organization/teams, admin, JWT, OIDC provider, SCIM, SSO)
- Migrating from NextAuth, Clerk, Auth0, Supabase Auth, or WorkOS
- Configuration options, hooks, cookies, rate limiting, or TypeScript types

## 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