What it is
Better Auth is a TypeScript library that adds sign-in, sessions, two-factor, organizations and similar features to your own app and database, with plugins for the extras. Version 1.7, published August 17, 2026, centers on its OAuth provider: other apps and APIs can now rely on it with per-API rules, DPoP-bound tokens and back-channel logout. MCP authorization moves into its own package, and SCIM gains Groups. The project announced in July 2026 that it is joining Vercel.
Key features
- Per-API token rules. Each protected API can get its own permissions, token lifetime, claims and signing policy, and tokens are checked against the API they were issued for.
- DPoP-bound tokens. Tokens can be tied to the client that requested them, so a copied access token is not enough on its own to call an API.
- Separate MCP package. MCP authentication now lives in @better-auth/mcp, which follows the 2026-07-28 MCP authorization profile and works with version 2 of the official TypeScript SDK.
- Device authorization grant. CLIs, TVs and other limited-input devices can show a code while the user approves API access in a browser, following RFC 8628.
Who it's for
TypeScript teams that want authentication inside their own codebase and database instead of a hosted identity vendor, especially SaaS products that need SSO, SCIM or OAuth for third-party apps. It also fits teams building MCP servers that need standards-based authorization for AI clients.
Pricing
Framework free (MIT); infrastructure Starter $0, Pro $20/month plus usage, Enterprise custom
The framework is free and open source under the MIT license. The pricing page covers optional managed infrastructure: Starter is $0 with one dashboard seat and 10,000 audit logs a month; Pro is $20 a month with unlimited seats, per-event fees past its quotas, and extra SSO or directory connections at $50 a month each. Enterprise is custom.
Pricing checked November 13, 2026 on the official pricing page
Limitations
The 1.7 notes warn that OAuth Provider, MCP, SSO, SAML, SCIM and custom storage setups need migration work, and the old oidcProvider plugin is removed. A follow-up post explains an account schema change that broke some upgrades. The team says its OpenID conformance results are not a certification. Self-hosting means you run the database and apply security releases yourself.
Alternatives
- authentik — Standalone self-hosted identity provider with SAML, LDAP and RADIUS, run as its own service instead of a library inside your app.
- Infisical — Manages the secrets, certificates and machine identities around your app; you would pair it with an auth library rather than replace one.
Our take
From the release notes, 1.7 moves Better Auth from login library toward a self-hosted identity provider, with standards work such as DPoP and resource indicators. New projects can adopt it now. Existing installs should read the upgrade guide first and budget time for migration; the regular security releases also mean staying current is part of the real cost.
Based on Better Auth Inc.'s public documentation, pricing page and release notes, not a hands-on review. Written by Alex Morgan.
Official links
- Better Auth website
- Better Auth pricing
- Better Auth 1.7 expands OAuth, OpenID Connect, MCP auth and SCIM
- Source code repository