Skip to main content

Multi-Tenancy

LumoAuth is a multi-organization identity platform. Every resource — users, applications, roles, configurations — is scoped to an organization, so data is fully isolated between organizations while they share a single deployment.


What is Multi-Tenancy?

A organization in LumoAuth represents an isolated identity domain. Each organization has its own:

  • Users and user profiles
  • OAuth applications and API clients
  • Roles, permissions, and access policies
  • Authentication settings (MFA, social login, SSO)
  • Branding and custom domains
  • Audit logs and compliance data

Organizations are completely isolated from each other. A user in one organization cannot access resources in another organization.


URL Structure

Every organization is accessed through its unique slug in the URL:

https://your-domain.com/orgs/{orgId}/...
PathPurpose
/orgs/{orgId}/portal/Organization admin portal dashboard
/orgs/{orgId}/portal/applicationsManage OAuth applications
/orgs/{orgId}/portal/access-management/Users, roles, groups, permissions
/orgs/{orgId}/portal/configuration/Auth settings, social login, SAML, LDAP
/orgs/{orgId}/api/v1/Organization API endpoints
/orgs/{orgId}/api/v1/oauth/authorizeOAuth authorization endpoint
/orgs/{orgId}/api/v1/oauth/tokenToken endpoint
/orgs/{orgId}/.well-known/openid-configurationOIDC discovery

With custom domains, you can map auth.yourdomain.com to your organization, removing the /orgs/{orgId} prefix entirely.


Use Cases

ScenarioHow Multi-Tenancy Helps
SaaS PlatformEach customer gets their own organization with separate users and settings
Enterprise DepartmentsEach department maintains independent identity configurations
EnvironmentsSeparate organizations for dev, staging, and production
White-Label ProductsEach brand operates under its own custom domain

Organization Isolation

LumoAuth enforces organization isolation at every layer:

LayerIsolation Mechanism
DataAll database queries are scoped to the current organization
AuthenticationLogin sessions are organization-specific
APIAll API requests require organization context
ConfigurationAuth settings, MFA policies, social providers are per-organization
Audit LogsLogs are organization-scoped and cannot be accessed cross-organization
TokensAccess tokens include organization claims and are validated per-organization

In This Section

GuideDescription
Organization SetupCreate, configure, and manage organizations
Organization PortalNavigate the organization admin portal
Custom DomainsMap your own domain to a organization