The most comprehensive authentication framework for TypeScript.
02
03
04
05
06
07
08
09
10
11
12
export const auth = betterAuth({ database: new Pool({ connectionString: DATABASE_URL, }), emailAndPassword: { enabled: true, }, plugins: [ organization(), twoFactor(), ]})
Framework Agnostic
Supports for popular frameworks.
Supports popular frameworks, including React, Vue, Svelte, Astro, Solid, Next.js, Nuxt, Tanstack Start, Hono, and more.Learn more
Authentication
Email & Password Authentication.
Built-in support for email and password authentication, with session and account management features.Learn more
Social Sign-on
Support multiple OAuth providers.
Allow users to sign in with their accounts, including GitHub, Google, Discord, Twitter, and more.Learn more
Two Factor
Multi Factor Authentication.
Secure your users accounts with two factor authentication with a few lines of code.Learn more
Multi Tenant
Organization Members and Invitation.
Multi tenant support with members, organization, teams and invitation with access control.Learn more
Plugin Ecosystem
A lot more features with plugins.
Improve your application experience with our official plugins and those created by the community.Learn more
"This has been the best auth experience by a mileee, auto generated my drizzle schemas for users, sessions etc, full type safe and dead simple api, well done @better_auth 👏👏."
"When @better_auth meets @nuxt_hub to build full-stack Nuxt apps on Cloudflare (using D1 & KV).."
"I love the js ecosystem. There’s always something disruptive happening. Just heard about @better_auth."
"This has been the best auth experience by a mileee, auto generated my drizzle schemas for users, sessions etc, full type safe and dead simple api, well done @better_auth 👏👏."
"When @better_auth meets @nuxt_hub to build full-stack Nuxt apps on Cloudflare (using D1 & KV).."
"I love the js ecosystem. There’s always something disruptive happening. Just heard about @better_auth."
"This has been the best auth experience by a mileee, auto generated my drizzle schemas for users, sessions etc, full type safe and dead simple api, well done @better_auth 👏👏."
"When @better_auth meets @nuxt_hub to build full-stack Nuxt apps on Cloudflare (using D1 & KV).."
"I love the js ecosystem. There’s always something disruptive happening. Just heard about @better_auth."
"This has been the best auth experience by a mileee, auto generated my drizzle schemas for users, sessions etc, full type safe and dead simple api, well done @better_auth 👏👏."
"When @better_auth meets @nuxt_hub to build full-stack Nuxt apps on Cloudflare (using D1 & KV).."
"I love the js ecosystem. There’s always something disruptive happening. Just heard about @better_auth."
"This has been the best auth experience by a mileee, auto generated my drizzle schemas for users, sessions etc, full type safe and dead simple api, well done @better_auth 👏👏."
"When @better_auth meets @nuxt_hub to build full-stack Nuxt apps on Cloudflare (using D1 & KV).."
"I love the js ecosystem. There’s always something disruptive happening. Just heard about @better_auth."
"This has been the best auth experience by a mileee, auto generated my drizzle schemas for users, sessions etc, full type safe and dead simple api, well done @better_auth 👏👏."
"When @better_auth meets @nuxt_hub to build full-stack Nuxt apps on Cloudflare (using D1 & KV).."
"I love the js ecosystem. There’s always something disruptive happening. Just heard about @better_auth."
"This has been the best auth experience by a mileee, auto generated my drizzle schemas for users, sessions etc, full type safe and dead simple api, well done @better_auth 👏👏."
"When @better_auth meets @nuxt_hub to build full-stack Nuxt apps on Cloudflare (using D1 & KV).."
"I love the js ecosystem. There’s always something disruptive happening. Just heard about @better_auth."
"This has been the best auth experience by a mileee, auto generated my drizzle schemas for users, sessions etc, full type safe and dead simple api, well done @better_auth 👏👏."
"When @better_auth meets @nuxt_hub to build full-stack Nuxt apps on Cloudflare (using D1 & KV).."
"I love the js ecosystem. There’s always something disruptive happening. Just heard about @better_auth."
"This has been the best auth experience by a mileee, auto generated my drizzle schemas for users, sessions etc, full type safe and dead simple api, well done @better_auth 👏👏."
"When @better_auth meets @nuxt_hub to build full-stack Nuxt apps on Cloudflare (using D1 & KV).."
"I love the js ecosystem. There’s always something disruptive happening. Just heard about @better_auth."
"This has been the best auth experience by a mileee, auto generated my drizzle schemas for users, sessions etc, full type safe and dead simple api, well done @better_auth 👏👏."
"When @better_auth meets @nuxt_hub to build full-stack Nuxt apps on Cloudflare (using D1 & KV).."
"Solved auth for my next project and I’m pretty happy with it: @better_auth with @prisma serverless database. What a great team!."
"Someone has finally nailed auth for Typescript projects. I have been searching for something like this for years. Years. Anonymous auth, passcodes, 2fa, plugin architecture. Brilliant work @better_auth.."
"Better Auth looks so nice and complete. Will definitely try it out after v1. I am currently with Nuxt Auth Utils it is great to start but Better Auth might be the way to go for bigger projects. 👀."
"Solved auth for my next project and I’m pretty happy with it: @better_auth with @prisma serverless database. What a great team!."
"Someone has finally nailed auth for Typescript projects. I have been searching for something like this for years. Years. Anonymous auth, passcodes, 2fa, plugin architecture. Brilliant work @better_auth.."
"Better Auth looks so nice and complete. Will definitely try it out after v1. I am currently with Nuxt Auth Utils it is great to start but Better Auth might be the way to go for bigger projects. 👀."
"Solved auth for my next project and I’m pretty happy with it: @better_auth with @prisma serverless database. What a great team!."
"Someone has finally nailed auth for Typescript projects. I have been searching for something like this for years. Years. Anonymous auth, passcodes, 2fa, plugin architecture. Brilliant work @better_auth.."
"Better Auth looks so nice and complete. Will definitely try it out after v1. I am currently with Nuxt Auth Utils it is great to start but Better Auth might be the way to go for bigger projects. 👀."
"Solved auth for my next project and I’m pretty happy with it: @better_auth with @prisma serverless database. What a great team!."
"Someone has finally nailed auth for Typescript projects. I have been searching for something like this for years. Years. Anonymous auth, passcodes, 2fa, plugin architecture. Brilliant work @better_auth.."
"Better Auth looks so nice and complete. Will definitely try it out after v1. I am currently with Nuxt Auth Utils it is great to start but Better Auth might be the way to go for bigger projects. 👀."
"Solved auth for my next project and I’m pretty happy with it: @better_auth with @prisma serverless database. What a great team!."
"Someone has finally nailed auth for Typescript projects. I have been searching for something like this for years. Years. Anonymous auth, passcodes, 2fa, plugin architecture. Brilliant work @better_auth.."
"Better Auth looks so nice and complete. Will definitely try it out after v1. I am currently with Nuxt Auth Utils it is great to start but Better Auth might be the way to go for bigger projects. 👀."
"Solved auth for my next project and I’m pretty happy with it: @better_auth with @prisma serverless database. What a great team!."
"Someone has finally nailed auth for Typescript projects. I have been searching for something like this for years. Years. Anonymous auth, passcodes, 2fa, plugin architecture. Brilliant work @better_auth.."
"Better Auth looks so nice and complete. Will definitely try it out after v1. I am currently with Nuxt Auth Utils it is great to start but Better Auth might be the way to go for bigger projects. 👀."
"Solved auth for my next project and I’m pretty happy with it: @better_auth with @prisma serverless database. What a great team!."
"Someone has finally nailed auth for Typescript projects. I have been searching for something like this for years. Years. Anonymous auth, passcodes, 2fa, plugin architecture. Brilliant work @better_auth.."
"Better Auth looks so nice and complete. Will definitely try it out after v1. I am currently with Nuxt Auth Utils it is great to start but Better Auth might be the way to go for bigger projects. 👀."
"Solved auth for my next project and I’m pretty happy with it: @better_auth with @prisma serverless database. What a great team!."
"Someone has finally nailed auth for Typescript projects. I have been searching for something like this for years. Years. Anonymous auth, passcodes, 2fa, plugin architecture. Brilliant work @better_auth.."
"Better Auth looks so nice and complete. Will definitely try it out after v1. I am currently with Nuxt Auth Utils it is great to start but Better Auth might be the way to go for bigger projects. 👀."
"Solved auth for my next project and I’m pretty happy with it: @better_auth with @prisma serverless database. What a great team!."
"Someone has finally nailed auth for Typescript projects. I have been searching for something like this for years. Years. Anonymous auth, passcodes, 2fa, plugin architecture. Brilliant work @better_auth.."
"Better Auth looks so nice and complete. Will definitely try it out after v1. I am currently with Nuxt Auth Utils it is great to start but Better Auth might be the way to go for bigger projects. 👀."
"Solved auth for my next project and I’m pretty happy with it: @better_auth with @prisma serverless database. What a great team!."
"Someone has finally nailed auth for Typescript projects. I have been searching for something like this for years. Years. Anonymous auth, passcodes, 2fa, plugin architecture. Brilliant work @better_auth.."