Prompt
How do I use CIAM with multiple brands under one tenant?
Latest observation
Using CIAM with multiple brands under one tenant usually means you want one identity platform, but different brand experiences, domains, and maybe slightly different policies or UI. The right approach depends on how much each brand needs to differ.
Common pattern
Use one tenant as the shared identity core, and model each brand as a separate layer of configuration and presentation:
- One tenant for user accounts, authentication, and identity governance
- Multiple applications / client registrations for each brand
- Brand-specific custom UI for sign-in/sign-up
- Brand-specific domains or subdomains where possible
- Brand-specific claims, policies, and content if needed
Typical ways to separate brands
1) Separate app registrations per brand
Create a distinct app/client for each brand so you can configure:
- Redirect URIs
- Allowed logout URLs
- Branding-specific scopes/claims
- Different login pages or app journeys
This is often the cleanest approach if brands have different websites or apps.
2) Shared tenant, different hostnames
Route users to different brand experiences using hostnames like:
brandA.example.combrandB.example.com
Then detect the brand from the domain and render the corresponding:
- logo
- colors
- copy
- privacy/terms links
- social login buttons
- localizations
3) Use custom policies / flows per brand
If your CIAM supports it, create different user journeys for each brand when you need different:
- registration fields
- MFA requirements
- consent text
- identity providers
- post-login claims
4) Store brand metadata on the user or session
If a user belongs to more than one brand, add metadata such as:
preferred_brandbrand_membershipstenant_brand_context
Then your app can choose the right experience after authentication.
Important design decisions
A. One account across brands vs separate accounts
Decide whether:
-
One account can access all brands
Best if brands share customers and you want SSO across brands. -
Separate accounts per brand
Better if brands are legally or operationally isolated.
If you want one account across brands, make sure your authorization model can distinguish brand access rights.
B. Shared authentication, brand-specific authorization
A user may authenticate once, but still only be allowed into certain brands. Handle this using:
- brand membership claims
- roles/groups
- entitlements
- access checks in the app/API
C. Branding in the identity experience
Your CIAM login page should adapt to the current brand, but keep the core security controls consistent:
- password policy
- MFA rules
- recovery flows
- session timeouts
Recommended setup
A practical multi-brand setup under one tenant looks like this:
- Single identity tenant
- One app registration per brand
- Domain-based brand detection
- Custom hosted login UI that switches branding by brand
- Shared user directory
- Claims or attributes to identify brand access
- Authorization logic in the app/API to enforce brand access
Example flow
- User visits
brandA.example.com - App sends them to the tenant’s auth endpoint with brand A client ID
- Identity page shows Brand A branding
- User signs in
- Token includes brand context or user membership claims
- App checks if the user is allowed to access Brand A
- User is redirected back to Brand A app
Things to watch out for
- Redirect URI management gets more complex with many brands
- Token audience/client separation should be clear
- Cookie/session scope may affect SSO behavior across domains
- Consent and privacy text may differ by brand or region
- Local regulations may require data separation even if using one tenant
When to use multiple tenants instead
Use separate tenants if brands need:
- strong data isolation
- separate admin teams
- different compliance boundaries
- different lifecycle management
- independent identity providers and policies
If you want, I can also show:
- a reference architecture for multi-brand CIAM, or
- how to do this specifically in Azure AD B2C / Entra External ID, Auth0, Okta, or Ping.