Features
Multi-tenancy
Organization support for multi-tenant SaaS applications.
Docs are in beta — content is improving rapidly. Found something missing? Open an issue on GitHub or reach out on Twitter.
BetterStarter includes organization (multi-tenancy) support via Better Auth's organization plugin.
What's Included
- Organizations with members and roles
- Invite members by email
- Member roles:
owner,admin,member - Organization switching UI
- Isolated data per organization
Status
Multi-tenancy is disabled by default. To enable it, update src/appConfig.ts:
features: {
organization: {
enabled: true, // change from false to true
},
}Then enable the organization plugin in src/lib/auth/index.ts and run migrations to add the required tables.
Use Cases
- SaaS products where multiple users belong to a shared workspace (e.g., Slack, Linear, Notion)
- Agencies managing multiple client accounts
- Products with team collaboration features
Route
The organization management UI is at /organization/:organizationView.