B2B SaaS tenants
A SaaS product serves many customer companies from one application.
Kinde · Const
Kinde models multi-tenancy with organizations: one Kinde business can serve multiple customers while separating their users, access, and tenant data. Use a flat organization set within a business; separate Kinde businesses are required for independent projects.
Kinde models multi-tenancy with organizations: each organization represents a tenant whose users, roles, permissions, and data are isolated from other tenants. Use one flat organization set within a Kinde business, or separate Kinde businesses for independent products or projects.
const org = await kindeClient.getOrganization();
console.log(org.code);Use the active organization returned by the Kinde SDK to scope tenant-aware application behavior.
A SaaS product serves many customer companies from one application.
A platform needs different user groups with distinct access rules.
A user works with more than one customer organization.
Several products need independent tenant partitions.
Kinde represents each tenant as an organization. Organizations separate user groups and let you manage organization-specific roles and permissions.
Follow-up: How would you support two independent products? Use separate Kinde businesses rather than nesting organizations or treating one organization set as multiple isolated projects.
Kinde uses one database with a schema per tenant. Customers share the application and database, while each tenant’s data remains isolated and invisible to other tenants.
Follow-up: What is the application-level boundary? Use the organization context to scope users, access decisions, and tenant data consistently.
Users can belong to multiple organizations. Organization-level management controls access and assigns roles and permissions for each user in that organization.
Follow-up: What must authorization code avoid? It should not assume a user has only one organization; it must use the relevant organization context for the operation.
OrganizationsUser management in organizationsRoles and permissionsAdd and manage organizationsOrganization handles