To upgrade, run:
Stripe integration for customer management, subscriptions, and webhooks.
Read the Stripe Plugin docs for more information.
Protect your authentication flows with Google reCAPTCHA and Cloudflare Turnstile. Works for signup, signin, and password resets.
Read the Captcha Plugin docs for more information.
Generate and manage API keys with rate limiting, expiration, and metadata. Supports session creation from API keys.
Read the API Key Plugin docs for more information.
Organizations can now have teams or sub-organizations under them.
Read the Organization Plugin docs for more information.
The CLI now includes an init
command to add Better Auth to your project.
displayName
for case-insensitive lookups while preserving original formatting.If you're using the Username plugin, make sure to add the displayName
field
to your schema.
adminUserIds
option to grant specific users admin privileges. Learn moreWe rewrote better-call (the core library behind Better Auth) to fix TypeScript editor lag. Your IDE should now feel much snappier when working with Better Auth.
init
CommandThe CLI now includes an init
command to speed up setup:
A lot of fixes and refinements to make everything smoother, faster, and more reliable. Check out the changelog for more details.
Upgrade now and take advantage of these powerful new features! 🚀