# Auth0 application domain (custom or otherwise) redirects to Auth0 homepage

**URL:** <https://community.auth0.com/t/auth0-application-domain-custom-or-otherwise-redirects-to-auth0-homepage/35207>\
**Category:** Get Help\
**Tags:** custom-domain, domains, universal-login\
**Created:** [December 16, 2019, 5:51pm UTC](https://community.auth0.com/t/auth0-application-domain-custom-or-otherwise-redirects-to-auth0-homepage/35207 "2019-12-16T17:51:45Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![lukasObo](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/lukasobo/32/18009_2.png) [@lukasObo](https://community.auth0.com/u/lukasObo)\
**Post date:** [December 16, 2019, 5:51pm UTC](https://community.auth0.com/t/auth0-application-domain-custom-or-otherwise-redirects-to-auth0-homepage/35207/1 "2019-12-16T17:51:45Z")

</div>

We’re using the universal login (classic w/ custom html) for our application, meaning we redirect the user from our login route to Auth0 authorize with the clientId/audience etc as query params. On the login page we strip the query param to have a nicer looking url.

The issue is, a user could just copy the url and use it later. If they just use the domain (custom or not), they get redirected to the Auth0 homepage.

This sounds like the same issue mentioned in this thread: [Custom Domain redirects to Auth0 homepage](http://community.auth0.com/t/custom-domain-redirects-to-auth0-homepage/10246)

Is there a solution to this short of a self hosted login? It’s a serious user experience problem for us.

---

<div class="post-metadata">

**Author:** ![thameera](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/thameera/32/13430_2.png) [@thameera](https://community.auth0.com/u/thameera)\
**Post date:** [December 17, 2019, 7:42am UTC](https://community.auth0.com/t/auth0-application-domain-custom-or-otherwise-redirects-to-auth0-homepage/35207/2 "2019-12-17T07:42:48Z")

</div>

Hi @lukasObo, if the user enters the custom domain only, it should redirect to the parent domain and not Auth0. Are you seeing a different behavior? For example `auth.example.com` should redirect to `example.com`. This used to redirect to [auth0.com](http://auth0.com) some time back, but not anymore.

What does the URL looks like after stripping the parameters? Generally the solution to users bookmarking the login page is specifying a ‘default login URL’: [Configure Default Login Routes](https://auth0.com/docs/universal-login/default-login-url)

---

<div class="post-metadata">

**Author:** ![eltimn](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/eltimn/32/18649_2.png) [@eltimn](https://community.auth0.com/u/eltimn)\
**Post date:** [January 22, 2020, 5:26pm UTC](https://community.auth0.com/t/auth0-application-domain-custom-or-otherwise-redirects-to-auth0-homepage/35207/3 "2020-01-22T17:26:48Z")

</div>

Is there a way to redirect to something other than the parent domain?

This is not where we want to send users and is causing us problems because that’s a different website than the one we’re using Auth0 with.

---

<div class="post-metadata">

**Author:** ![thameera](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/thameera/32/13430_2.png) [@thameera](https://community.auth0.com/u/thameera)\
**Post date:** [January 23, 2020, 3:42am UTC](https://community.auth0.com/t/auth0-application-domain-custom-or-otherwise-redirects-to-auth0-homepage/35207/4 "2020-01-23T03:42:19Z")

</div>

@eltimn We have this in our backlog to make the redirection configurable, but at the moment only parent domain is supported. Could you add your use case to [Auth0: Secure access for everyone. But not just anyone.](https://auth0.com/feedback) ? This will help us prioritize it sooner.

---

<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:** [February 7, 2020, 3:42am UTC](https://community.auth0.com/t/auth0-application-domain-custom-or-otherwise-redirects-to-auth0-homepage/35207/5 "2020-02-07T03:42:20Z")

</div>

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