Skip to content

docs(examples): rename MCD hosts from tenant-N to brand-a/brand-b#33

Merged
frederikprijck merged 1 commit into
mainfrom
chore/example-mcd-tenant-to-brand
Jul 14, 2026
Merged

docs(examples): rename MCD hosts from tenant-N to brand-a/brand-b#33
frederikprijck merged 1 commit into
mainfrom
chore/example-mcd-tenant-to-brand

Conversation

@frederikprijck

@frederikprijck frederikprijck commented Jul 14, 2026

Copy link
Copy Markdown
Member

Description

Renames the hostnames in the example-express-mcd example from tenant-1.localhost / tenant-2.localhost to brand-a.localhost / brand-b.localhost.

The tenant-1 / tenant-2 naming was misleading: it implied each host maps to a separate Auth0 tenant. MCD is about multiple custom domains of a single Auth0 tenant (they resolve to one underlying tenant at the DNS level). The brand-a / brand-b naming reflects one tenant serving multiple brands/domains, which is the actual use case.

Changes

  • Hostnames renamed across README.md, .env.example, src/index.ts, and src/index.spec.ts.
  • Spec's TENANT_1_DOMAIN / TENANT_2_DOMAIN vars renamed to CUSTOM_DOMAIN_1 / CUSTOM_DOMAIN_2, and test descriptions updated.
  • Genuine "same Auth0 tenant" wording left intact — that's the point the rename reinforces.

The tenant-1/tenant-2 hostnames implied separate Auth0 tenants. MCD is
about multiple custom domains of a single tenant (mapped to one
underlying tenant at the DNS level), so use brand-a.localhost /
brand-b.localhost to avoid the misleading framing. Renames the spec's
TENANT_*_DOMAIN vars and test descriptions to match.
@frederikprijck
frederikprijck merged commit 32c9d8f into main Jul 14, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants