# Auth0 CLI not recognizing custom domain

**URL:** <https://community.auth0.com/t/auth0-cli-not-recognizing-custom-domain/186493>\
**Category:** Get Help\
**Tags:** custom-domains, management-api\
**Created:** [May 8, 2025, 3:36pm UTC](https://community.auth0.com/t/auth0-cli-not-recognizing-custom-domain/186493 "2025-05-08T15:36:22Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![youssef1](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/youssef1/32/72006_2.png) [@youssef1](https://community.auth0.com/u/youssef1)\
**Post date:** [May 8, 2025, 3:36pm UTC](https://community.auth0.com/t/auth0-cli-not-recognizing-custom-domain/186493/1 "2025-05-08T15:36:22Z")

</div>

I am trying to create a custom template so that I can add additional fields to the universal login dialogue, but when I run `auth0 universal-login templates update`, I get the following error:

▸ Failed to fetch the Universal Login template data: this feature requires at least one custom domain to be set and verified for the tenant, use ‘auth0 domains create’ to create one and ‘auth0 domains verify’ to have it verified.

I definitely have the custom domain in question active, as it is now where my users are brought during the login experience. However, it doesn’t seem to be working on the CLI side. I’m not totally sure what I’m missing here.

---

<div class="post-metadata">

**Author:** ![nik.baleca](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/nik.baleca/32/68749_2.png) [@nik.baleca](https://community.auth0.com/u/nik.baleca)\
**Post date:** [May 8, 2025, 6:07pm UTC](https://community.auth0.com/t/auth0-cli-not-recognizing-custom-domain/186493/3 "2025-05-08T18:07:11Z")

</div>

Hi @youssef1

Welcome to the Auth0 Community!

Could you please provide me the tenant name on which you have this issue so that I can take a look?

Kind Regards,  
Nik

---

<div class="post-metadata">

**Author:** ![youssef1](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/youssef1/32/72006_2.png) [@youssef1](https://community.auth0.com/u/youssef1)\
**Post date:** [May 8, 2025, 6:16pm UTC](https://community.auth0.com/t/auth0-cli-not-recognizing-custom-domain/186493/4 "2025-05-08T18:16:27Z")

</div>

Hi Nik,

Thank you! I actually just figured it out as you responded. Turns out the issue was that my audience was still set to the custom domain, when it needed to be set to the auth0 provided domain. Still working out the process of creating custom templates, but will probably come back for more help if I get properly stuck again.

Best,  
Youssef

---

<div class="post-metadata">

**Author:** ![nik.baleca](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/nik.baleca/32/68749_2.png) [@nik.baleca](https://community.auth0.com/u/nik.baleca)\
**Post date:** [May 8, 2025, 6:20pm UTC](https://community.auth0.com/t/auth0-cli-not-recognizing-custom-domain/186493/5 "2025-05-08T18:20:18Z")

</div>

Alright! Thanks for letting us know!

You can continue this thread if you have any other questions, however, if you have an inquiry regarding a different problem, I would recommend to open a new post!

Kind Regards,  
Nik

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [May 22, 2025, 6:20pm UTC](https://community.auth0.com/t/auth0-cli-not-recognizing-custom-domain/186493/6 "2025-05-22T18:20:49Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
