# Ignore consent with custom domain in auth0

**URL:** <https://community.auth0.com/t/ignore-consent-with-custom-domain-in-auth0/60549>\
**Category:** Get Help\
**Tags:** lock, auth0\
**Created:** [April 5, 2021, 9:55am UTC](https://community.auth0.com/t/ignore-consent-with-custom-domain-in-auth0/60549 "2021-04-05T09:55:06Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![divyasmehta](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/divyasmehta/32/18886_2.png) [@divyasmehta](https://community.auth0.com/u/divyasmehta)\
**Post date:** [April 5, 2021, 9:55am UTC](https://community.auth0.com/t/ignore-consent-with-custom-domain-in-auth0/60549/1 "2021-04-05T09:55:06Z")

</div>

We are using custom domain in our auth0’s application. We have enabled the option of “Allow Skipping User Consent”.

 ![image](https://global.discourse-cdn.com/auth0/original/3X/e/2/e2519cd9f37f1c142a5d66748d6565d7b9c03ec3.png)

When we are adding custom domain in our auth0 variables at client side. It is still asking for user consent on our deployed site.  
Interestingly, if we replace that custom domain in our code, with the actual domain of that auth0 application, then it works exactly as expected.

 ![image](https://global.discourse-cdn.com/auth0/original/3X/9/d/9d4f305667dd558c3dc06da711e955d0d89e1ebb.png)

Could it be possible that using custom domain, is considered as a third party application?  
Would really appreciate if anyone can help in this. Thanks!

---

<div class="post-metadata">

**Author:** ![stephanie.chamblee](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/stephanie.chamblee/32/26087_2.png) [@stephanie.chamblee](https://community.auth0.com/u/stephanie.chamblee)\
**Post date:** [April 7, 2021, 1:00pm UTC](https://community.auth0.com/t/ignore-consent-with-custom-domain-in-auth0/60549/3 "2021-04-07T13:00:12Z")

</div>

Hi @divyasmehta,

Welcome to the Community!

I have not seen this happen for custom domains before, but I can confirm! Do any of the Allowed Callback URLs of the application contain `localhost` by chance?

> …you cannot skip consent (even for first-party applications) if `localhost` appears in any domain in the application’s **Allowed Callback URLs** setting (found in [Dashboard \> Applications \> Settings](https://manage.auth0.com/#/applications/YOUR_CLIENT_ID/settings)). Make sure to update **Allowed Callback URLs** and the callback URL you configured in your application to match the updated domain-mapping.

[https://auth0.com/docs/authorization/user-consent-and-third-party-applications#skip-consent-for-first-party-applications](https://auth0.com/docs/authorization/user-consent-and-third-party-applications#skip-consent-for-first-party-applications)

---

<div class="post-metadata">

**Author:** ![divyasmehta](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/divyasmehta/32/18886_2.png) [@divyasmehta](https://community.auth0.com/u/divyasmehta)\
**Post date:** [April 7, 2021, 1:18pm UTC](https://community.auth0.com/t/ignore-consent-with-custom-domain-in-auth0/60549/4 "2021-04-07T13:18:16Z")

</div>

@stephanie.chamblee Thanks for your response. Yes localhost was the issue. I was able to figure that out later.

---

<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:** [April 22, 2021, 1:18pm UTC](https://community.auth0.com/t/ignore-consent-with-custom-domain-in-auth0/60549/5 "2021-04-22T13:18:22Z")

</div>

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