Better Auth + Hono = Faire Auth

Get Started
export const cfg = defineOptions({
baseURL: "http://localhost:3000",
plugins: [organization(), twoFactor()],
middleware: {
getSession: async (ctx, next) =>
await next(),
},
rateLimit: { enabled: true },
})

Framework Agnostic

Support 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

Deploy with confidence

Production-ready auth, composable by design.