Back to Better Auth

Introduction

docs/content/docs/introduction.mdx

1.6.131.0 KB
Original Source

Better Auth is a framework-agnostic, universal authentication and authorization framework for TypeScript. It provides a comprehensive set of features out of the box and includes a plugin ecosystem that simplifies adding advanced functionalities. Whether you need 2FA, passkey, multi-tenancy, multi-session support, or even enterprise features like SSO, creating your own IDP, it lets you focus on building your application instead of reinventing the wheel.

Features

Better Auth aims to be the most comprehensive auth library. It provides a wide range of features out of the box and allows you to extend it with plugins. Here are some of the features:

<Features />

...and much more!


AI resources

Your auth lives in your codebase. Better Auth fits well into agentic workflows. See AI Resources for Ask AI in the docs, LLMs.txt, the documentation MCP server (https://mcp.better-auth.com/mcp), and Skills for coding assistants.