Skip to main content

Multi-Tenancy

LumoAuth is built from the ground up as a multi-tenant identity platform. Every resource - users, applications, roles, configurations - is scoped to a tenant, providing complete data isolation while sharing a single deployment.


What is Multi-Tenancy?

A tenant in LumoAuth represents an isolated identity domain. Each tenant 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

Tenants are completely isolated from each other. A user in one tenant cannot access resources in another tenant.


URL Structure

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

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

With custom domains, you can map auth.yourdomain.com to your tenant, removing the /t/{tenantSlug} prefix entirely.


Use Cases

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

Tenant Isolation

LumoAuth enforces tenant isolation at every layer:

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

In This Section

GuideDescription
Tenant SetupCreate, configure, and manage tenants
Tenant PortalNavigate the tenant admin portal
Custom DomainsMap your own domain to a tenant