docs(examples): rename MCD hosts from tenant-N to brand-a/brand-b#33
Merged
Conversation
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.
cschetan77
approved these changes
Jul 14, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Renames the hostnames in the
example-express-mcdexample fromtenant-1.localhost/tenant-2.localhosttobrand-a.localhost/brand-b.localhost.The
tenant-1/tenant-2naming 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). Thebrand-a/brand-bnaming reflects one tenant serving multiple brands/domains, which is the actual use case.Changes
README.md,.env.example,src/index.ts, andsrc/index.spec.ts.TENANT_1_DOMAIN/TENANT_2_DOMAINvars renamed toCUSTOM_DOMAIN_1/CUSTOM_DOMAIN_2, and test descriptions updated.