better-auth

Installation
SKILL.md

Better Auth

Overview

Better Auth is a framework-agnostic TypeScript authentication library. It handles email/password, OAuth (Google, GitHub, Discord, etc.), magic links, two-factor auth, sessions, and organization/team management. One library, any framework, any database.

Instructions

Step 1: Setup

npm install better-auth

Add two variables to .env (the secret must be at least 32 characters; generate one with openssl rand -base64 32):

Installs
3
GitHub Stars
192
First Seen
Sep 8, 2026