Setup & Installation
What This Skill Does
The Better Auth organization plugin adds multi-tenant support to your auth setup. It handles organizations, members, invitations, teams, and role-based access control through a set of server and client plugins.
Implementing multi-tenant RBAC from scratch requires custom tables, permission checks, and invitation flows across server and client — this plugin provides all of it as a single configured plugin with database migration support.
When to use it
- Setting up role-based access so org admins can manage members but not billing
- Sending email invitations with expiry links when onboarding new team members
- Creating sub-teams within an organization and assigning members to specific groups
- Restricting organization creation to verified users or users on a paid plan
- Adding custom fields like department or billing ID to organization and member records