# Custom domain: overrides not working

**URL:** <https://community.auth0.com/t/custom-domain-overrides-not-working/47746>\
**Category:** Get Help\
**Tags:** auth0, custom-domain\
**Created:** [August 10, 2020, 2:43pm UTC](https://community.auth0.com/t/custom-domain-overrides-not-working/47746 "2020-08-10T14:43:32Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![bas1](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/bas1/32/23064_2.png) [@bas1](https://community.auth0.com/u/bas1)\
**Post date:** [August 10, 2020, 2:43pm UTC](https://community.auth0.com/t/custom-domain-overrides-not-working/47746/1 "2020-08-10T14:43:32Z")

</div>

Hi,

We set up a custom domain for our site to use, and followed all steps, and added the extra configuration as explained in [Configure Features to Use Custom Domains - Auth0 Docs](https://auth0.com/docs/custom-domains/additional-configuration#universal-login).

The redirection works fine, but when we try to login, we get a 404, and looking at the request header payload, it seems the tenant is not overrode. What is the reason about this?

```
    return new auth0.WebAuth({
      audience: environment.AUTH0_AUDIENCE,  
      clientID: environment.AUTH0_CLIENT_ID,
      domain: environment.AUTH0_DOMAIN,
      overrides: {
          __tenant: environment.AUTH0_TENANT,
          __token_issuer: environment.AUTH0_DOMAIN
     },

```

---

<div class="post-metadata">

**Author:** ![bas1](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/bas1/32/23064_2.png) [@bas1](https://community.auth0.com/u/bas1)\
**Post date:** [August 10, 2020, 3:43pm UTC](https://community.auth0.com/t/custom-domain-overrides-not-working/47746/2 "2020-08-10T15:43:17Z")

</div>

FYI: we are using this in our Angular app.

---

<div class="post-metadata">

**Author:** ![bas1](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/bas1/32/23064_2.png) [@bas1](https://community.auth0.com/u/bas1)\
**Post date:** [August 11, 2020, 11:04am UTC](https://community.auth0.com/t/custom-domain-overrides-not-working/47746/3 "2020-08-11T11:04:46Z")

</div>

Since the overrides did not work, we simply changed the name of our custom (sub)domain equal to the name of tenant we have.

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [August 11, 2020, 1:10pm UTC](https://community.auth0.com/t/custom-domain-overrides-not-working/47746/4 "2020-08-11T13:10:39Z")

</div>

Perfect! Glad you eventually have iit working

---

<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:** [August 26, 2020, 1:11pm UTC](https://community.auth0.com/t/custom-domain-overrides-not-working/47746/5 "2020-08-26T13:11:41Z")

</div>

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