Better Auth

developer tools

195 lines. Better Auth came to play.

Better Auth stands out with its comprehensive authentication framework for TypeScript, featuring integrations with multiple community and database adapters. Whether you're using MongoDB or PostgreSQL, Better Auth simplifies security, making it a go-to for developers who value efficiency and reliability.

Not sure yours is this good? Check it →

195 lines -81%
1 sections -94%
1 file

Better Auth's llms.txt Insights

Short and sweet

1 section. Minimalist, but hey — at least they showed up.

War and Peace vibes

195 lines. They really wanted AI to understand them.

What's inside Better Auth's llms.txt

Better Auth's llms.txt contains 9 sections:

  • Better Auth
  • Table of Contents
  • Adapters
  • Authentication
  • Basic Usage
  • Comparison
  • Concepts
  • Errors
  • Examples

How does Better Auth's llms.txt compare?

Better AuthDirectory AvgTop Performer
Lines1951029163,447
Sections1173207

Cool table. Now the real question — where do you land? Find out →

Better Auth's llms.txt preview

First 100 of 195 lines

# Better Auth

> The most comprehensive authentication framework for TypeScript

## Table of Contents

### Adapters

- [Community Adapters](/llms.txt/docs/adapters/community-adapters.md): Integrate Better Auth with community made database adapters.
- [Drizzle ORM Adapter](/llms.txt/docs/adapters/drizzle.md): Integrate Better Auth with Drizzle ORM.
- [MongoDB Adapter](/llms.txt/docs/adapters/mongo.md): Integrate Better Auth with MongoDB.
- [MS SQL](/llms.txt/docs/adapters/mssql.md): Integrate Better Auth with MS SQL.
- [MySQL](/llms.txt/docs/adapters/mysql.md): Integrate Better Auth with MySQL.
- [Other Relational Databases](/llms.txt/docs/adapters/other-relational-databases.md): Integrate Better Auth with other relational databases.
- [PostgreSQL](/llms.txt/docs/adapters/postgresql.md): Integrate Better Auth with PostgreSQL.
- [Prisma](/llms.txt/docs/adapters/prisma.md): Integrate Better Auth with Prisma.
- [SQLite](/llms.txt/docs/adapters/sqlite.md): Integrate Better Auth with SQLite.

### Authentication

- [Apple](/llms.txt/docs/authentication/apple.md): Apple provider setup and usage.
- [Atlassian](/llms.txt/docs/authentication/atlassian.md): Atlassian provider setup and usage.
- [Cognito](/llms.txt/docs/authentication/cognito.md): Amazon Cognito provider setup and usage.
- [Discord](/llms.txt/docs/authentication/discord.md): Discord provider setup and usage.
- [Dropbox](/llms.txt/docs/authentication/dropbox.md): Dropbox provider setup and usage.
- [Email & Password](/llms.txt/docs/authentication/email-password.md): Implementing email and password authentication with Better Auth.
- [Facebook](/llms.txt/docs/authentication/facebook.md): Facebook provider setup and usage.
- [Figma](/llms.txt/docs/authentication/figma.md): Figma provider setup and usage.
- [GitHub](/llms.txt/docs/authentication/github.md): GitHub provider setup and usage.
- [GitLab](/llms.txt/docs/authentication/gitlab.md): GitLab provider setup and usage.
- [Google](/llms.txt/docs/authentication/google.md): Google provider setup and usage.
- [Hugging Face](/llms.txt/docs/authentication/huggingface.md): Hugging Face provider setup and usage.
- [Kakao](/llms.txt/docs/authentication/kakao.md): Kakao provider setup and usage.
- [Kick](/llms.txt/docs/authentication/kick.md): Kick provider setup and usage.
- [LINE](/llms.txt/docs/authentication/line.md): LINE provider setup and usage.
- [Linear](/llms.txt/docs/authentication/linear.md): Linear provider setup and usage.
- [LinkedIn](/llms.txt/docs/authentication/linkedin.md): LinkedIn Provider
- [Microsoft](/llms.txt/docs/authentication/microsoft.md): Microsoft provider setup and usage.
- [Naver](/llms.txt/docs/authentication/naver.md): Naver provider setup and usage.
- [Notion](/llms.txt/docs/authentication/notion.md): Notion provider setup and usage.
- [Other Social Providers](/llms.txt/docs/authentication/other-social-providers.md): Other social providers setup and usage.
- [Paybin](/llms.txt/docs/authentication/paybin.md): Paybin provider setup and usage.
- [PayPal](/llms.txt/docs/authentication/paypal.md): Paypal provider setup and usage.
- [Polar](/llms.txt/docs/authentication/polar.md): Polar provider setup and usage.
- [Reddit](/llms.txt/docs/authentication/reddit.md): Reddit provider setup and usage.
- [Roblox](/llms.txt/docs/authentication/roblox.md): Roblox provider setup and usage.
- [Salesforce](/llms.txt/docs/authentication/salesforce.md): Salesforce provider setup and usage.
- [Slack](/llms.txt/docs/authentication/slack.md): Slack provider setup and usage.
- [Spotify](/llms.txt/docs/authentication/spotify.md): Spotify provider setup and usage.
- [TikTok](/llms.txt/docs/authentication/tiktok.md): TikTok provider setup and usage.
- [Twitch](/llms.txt/docs/authentication/twitch.md): Twitch provider setup and usage.
- [Twitter (X)](/llms.txt/docs/authentication/twitter.md): Twitter provider setup and usage.
- [Vercel](/llms.txt/docs/authentication/vercel.md): Vercel provider setup and usage.
- [VK](/llms.txt/docs/authentication/vk.md): VK ID Provider
- [Zoom](/llms.txt/docs/authentication/zoom.md): Zoom provider setup and usage.

### Basic Usage

- [Basic Usage](/llms.txt/docs/basic-usage.md): Getting started with Better Auth

### Comparison

- [Comparison](/llms.txt/docs/comparison.md): Comparison of Better Auth versus over other auth libraries and services.

### Concepts

- [API](/llms.txt/docs/concepts/api.md): Better Auth API.
- [CLI](/llms.txt/docs/concepts/cli.md): Built-in CLI for managing your project.
- [Client](/llms.txt/docs/concepts/client.md): Better Auth client library for authentication.
- [Cookies](/llms.txt/docs/concepts/cookies.md): Learn how cookies are used in Better Auth.
- [Database](/llms.txt/docs/concepts/database.md): Learn how to use a database with Better Auth.
- [Email](/llms.txt/docs/concepts/email.md): Learn how to use email with Better Auth.
- [Hooks](/llms.txt/docs/concepts/hooks.md): Better Auth Hooks let you customize BetterAuth's behavior
- [OAuth](/llms.txt/docs/concepts/oauth.md): How Better Auth handles OAuth
- [Plugins](/llms.txt/docs/concepts/plugins.md): Learn how to use plugins with Better Auth.
- [Rate Limit](/llms.txt/docs/concepts/rate-limit.md): How to limit the number of requests a user can make to the server in a given time period.
- [Session Management](/llms.txt/docs/concepts/session-management.md): Better Auth session management.
- [TypeScript](/llms.txt/docs/concepts/typescript.md): Better Auth TypeScript integration.
- [User & Accounts](/llms.txt/docs/concepts/users-accounts.md): User and account management.

### Errors

- [Account already linked to different user](/llms.txt/docs/errors/account_already_linked_to_different_user.md): The account is already linked to a different user.
- [Email doesn't match](/llms.txt/docs/errors/email_doesn't_match.md): The email doesn't match the email of the account.
- [Email not found](/llms.txt/docs/errors/email_not_found.md): The provider did not return an email address.
- [Errors](/llms.txt/docs/errors.md): Errors that can occur in Better Auth.
- [Invalid callback request](/llms.txt/docs/errors/invalid_callback_request.md): The callback request is invalid.
- [No callback URL](/llms.txt/docs/errors/no_callback_url.md): The callback URL was not found in the request.
- [No code](/llms.txt/docs/errors/no_code.md): The code was not found in the request.
- [OAuth provider not found](/llms.txt/docs/errors/oauth_provider_not_found.md): The OAuth provider was not found.
- [Signup disabled](/llms.txt/docs/errors/signup_disabled.md): Signup disabled error
- [State mismatch](/llms.txt/docs/errors/state_mismatch.md): The state parameter in the request doesn't match the state parameter in the cookie.
- [State not found](/llms.txt/docs/errors/state_not_found.md): The state parameter was not found in the request.
- [Unable to get user info](/llms.txt/docs/errors/unable_to_get_user_info.md): The user info was not found in the request.
- [Unable to link account](/llms.txt/docs/errors/unable_to_link_account.md): The account could not be linked.
- [Unknown error](/llms.txt/docs/errors/unknown.md): An unknown error occurred.

### Examples

- [Astro Example](/llms.txt/docs/examples/astro.md): Better Auth Astro example.

What is llms.txt?

llms.txt is an open standard that helps AI language models understand your website. By placing a structured markdown file at /llms.txt, websites provide AI search engines like ChatGPT, Claude, and Perplexity with a clear map of their content, services, and documentation. Companies like Better Auth use it to ensure AI accurately represents their brand when answering user queries. Read the spec.

See who else in developer tools got the memo →

Better Auth showed up. Where's yours?

1000+ companies didn't overthink it. 60 seconds. Go.

Check your site →

More llms.txt examples

View all →