# Custom Domain to avoid third party cookie blocked

**URL:** <https://community.auth0.com/t/custom-domain-to-avoid-third-party-cookie-blocked/148094>\
**Category:** Get Help\
**Tags:** authentication-sessions, sessions\
**Created:** [September 27, 2024, 12:26am UTC](https://community.auth0.com/t/custom-domain-to-avoid-third-party-cookie-blocked/148094 "2024-09-27T00:26:26Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ashwani.kumar](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ashwani.kumar/32/60502_2.png) [@ashwani.kumar](https://community.auth0.com/u/ashwani.kumar)\
**Post date:** [September 27, 2024, 12:26am UTC](https://community.auth0.com/t/custom-domain-to-avoid-third-party-cookie-blocked/148094/1 "2024-09-27T00:26:26Z")

</div>

I need some help to setup the custom domain to get around of third party cookies blocked.

My app landing page is [login.company.app.com](http://login.company.app.com).  
Should I create a custom domain with [auth0.company.app.com](http://auth0.company.app.com) OR [company.app.com](http://company.app.com) so that Auth0 /authorize endpoint response cookies can be shared with the app endpoint in case third-party cookies are blocked?

Thanks in advance

---

<div class="post-metadata">

**Author:** ![rueben.tiow](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/rueben.tiow/32/11646_2.png) [@rueben.tiow](https://community.auth0.com/u/rueben.tiow)\
**Post date:** [September 30, 2024, 8:53pm UTC](https://community.auth0.com/t/custom-domain-to-avoid-third-party-cookie-blocked/148094/3 "2024-09-30T20:53:38Z")

</div>

Hi @ashwani.kumar,

Welcome to the Auth0 Community!

You should create a custom domain with [auth.company.app.com](http://auth.company.app.com/).

When configuring a custom domain, you should have the following format:  
`[subdomain].[second-level-domain].[top-level-domain]`

Thanks,  
Rueben

---

<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:** [October 14, 2024, 8:53pm UTC](https://community.auth0.com/t/custom-domain-to-avoid-third-party-cookie-blocked/148094/4 "2024-10-14T20:53:50Z")

</div>

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