# What does auth0-custom-domain header control when MCD is enabled?

**URL:** <https://community.auth0.com/t/what-does-auth0-custom-domain-header-control-when-mcd-is-enabled/192879>\
**Category:** Get Help\
**Tags:** custom-domains, management-api\
**Created:** [October 7, 2025, 9:11am UTC](https://community.auth0.com/t/what-does-auth0-custom-domain-header-control-when-mcd-is-enabled/192879 "2025-10-07T09:11:41Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![o.kaplun](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/o.kaplun/32/71769_2.png) [@o.kaplun](https://community.auth0.com/u/o.kaplun)\
**Post date:** [October 7, 2025, 9:11am UTC](https://community.auth0.com/t/what-does-auth0-custom-domain-header-control-when-mcd-is-enabled/192879/1 "2025-10-07T09:11:41Z")

</div>

Hi. I have enabled MCD (Multiple Custom Domains) feature in my tenant, and going to use it for migration of customer base between domains. In my implementation Auth0 entities provisioning is done using Management API. Initially I had a single custom domain, and now have two.

One thing I noticed, is that now it’s required to provide `auth0-custom-domain` header on a set of API calls, such as Create User (if not provided, I get `409 Conflict`). At the same time documentation doesn’t say much about how it impacts the behavior of the user that was created with a specific `auth0-custom-domain` header.

For instance, is it safe to create a user with `domain_new` and expect it will properly auithenticate on `domain_old`? Is there any impact on Enterprise SSO with SAML? Any other impact?

Also, once I enable multiple custom domains in my tenant, and start creating users with a specific custom domain mentioned in the header, I’ll have different types of user: those with custom domain and those without. What this will impact?

---

<div class="post-metadata">

**Author:** ![javier.tejero](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/javier.tejero/32/77116_2.png) [@javier.tejero](https://community.auth0.com/u/javier.tejero)\
**Post date:** [October 21, 2025, 3:50am UTC](https://community.auth0.com/t/what-does-auth0-custom-domain-header-control-when-mcd-is-enabled/192879/3 "2025-10-21T03:50:56Z")

</div>

In my experience there is no impact, users created within one custom domain can log in the other custom domains and vice-versa.
