Best practice for hosting the redirect rule page

Question:

We have a self-managed Custom Domain to host our login page. As we have our proxy in front of Auth0, this helps us manage any paths on this domain. We have a redirect rule used for our custom account linking app. As the functionality is related to login, we want to host our account linking app on a subpath of the login domain.

E.g., Our login page is on login.test.com, and we would like to keep our account linking app on login.test.com/account-link.

Is this a good practice?

Answer:

Though it could be possible to implement this scheme with a self-managed Custom Domain, overloading the login domain with other applications isn’t a good idea. You may better use a different subdomain for your account linking application instead. E.g. you may host your account linking app on account-link.test.com.

1 Like