# Two Tenants, both setup same. Universal Login but one includes link back to app and one doesn't.

**URL:** <https://community.auth0.com/t/two-tenants-both-setup-same-universal-login-but-one-includes-link-back-to-app-and-one-doesnt/186603>\
**Category:** Get Help\
**Tags:** configuration, application\
**Created:** [May 12, 2025, 2:31pm UTC](https://community.auth0.com/t/two-tenants-both-setup-same-universal-login-but-one-includes-link-back-to-app-and-one-doesnt/186603 "2025-05-12T14:31:26Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![jr219](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/jr219/32/24143_2.png) [@jr219](https://community.auth0.com/u/jr219)\
**Post date:** [May 12, 2025, 2:31pm UTC](https://community.auth0.com/t/two-tenants-both-setup-same-universal-login-but-one-includes-link-back-to-app-and-one-doesnt/186603/1 "2025-05-12T14:31:26Z")

</div>

I have two tenants (a dev and production tenant). The development tenant correctly shows the “back to application” button when I provide the user with a password reset URL. However, the production tenant does not show the button and I cannot for the life of me figure out why the difference.

I am generating the ticket internally in my app and emailing it directly to the customer.

Applications in both tenants have correct LOGIN URL configured in the application.

In both tenants, if I use the internal reset password link on the universal login screen and allow Auth0 to send the email the password link does appear.

Why would it work with one tenant and not the other.

---

<div class="post-metadata">

**Author:** ![nik.baleca](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/nik.baleca/32/68749_2.png) [@nik.baleca](https://community.auth0.com/u/nik.baleca)\
**Post date:** [May 12, 2025, 6:07pm UTC](https://community.auth0.com/t/two-tenants-both-setup-same-universal-login-but-one-includes-link-back-to-app-and-one-doesnt/186603/3 "2025-05-12T18:07:57Z")

</div>

Hi @jr219

Welcome back to the Auth0 Community!

You might have not set the [default login route](https://auth0.com/docs/authenticate/login/auth0-universal-login/configure-default-login-routes) for the tenant/application on the production tenant.

Besides the cURL command to configure it, you can also set it from the dashboard under Settings → Advanced → Tenant Login URI.

If you have any other questions, let me know!

Kind Regards,  
Nik

---

<div class="post-metadata">

**Author:** ![jr219](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/jr219/32/24143_2.png) [@jr219](https://community.auth0.com/u/jr219)\
**Post date:** [May 12, 2025, 6:18pm UTC](https://community.auth0.com/t/two-tenants-both-setup-same-universal-login-but-one-includes-link-back-to-app-and-one-doesnt/186603/4 "2025-05-12T18:18:08Z")

</div>

I don’t have the default application configured for either the development or the production tenant, but it is configured at the SPA application level.

Adding it to the tenant level on the production tenant seems to resolve the issue but I’d like to know why.

I do notice that the options on the production/development tenants different on the options.

The production has these options:

 ![Screenshot 2025-05-12 at 2.15.28 PM](https://global.discourse-cdn.com/auth0/original/3X/8/f/8f22bc36c4065827e25080127cc5a5f6f869f504.png)

The development tenant has these options:

 ![Screenshot 2025-05-12 at 2.15.18 PM](https://global.discourse-cdn.com/auth0/original/3X/b/d/bd1d7e3679f319c7141dc369f4b7e016346f16d5.png)

---

<div class="post-metadata">

**Author:** ![nik.baleca](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/nik.baleca/32/68749_2.png) [@nik.baleca](https://community.auth0.com/u/nik.baleca)\
**Post date:** [May 12, 2025, 6:22pm UTC](https://community.auth0.com/t/two-tenants-both-setup-same-universal-login-but-one-includes-link-back-to-app-and-one-doesnt/186603/5 "2025-05-12T18:22:10Z")

</div>

Hi again,

Are both applications the same type?

The production snippet seems to be similar to a SPA application, whereas the developement snippet would show a Regular Wep App.

Kind Regards,  
Nik

---

<div class="post-metadata">

**Author:** ![jr219](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/jr219/32/24143_2.png) [@jr219](https://community.auth0.com/u/jr219)\
**Post date:** [May 12, 2025, 6:28pm UTC](https://community.auth0.com/t/two-tenants-both-setup-same-universal-login-but-one-includes-link-back-to-app-and-one-doesnt/186603/6 "2025-05-12T18:28:25Z")

</div>

yes, both say “Single Page Applications” for the type.

---

<div class="post-metadata">

**Author:** ![nik.baleca](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/nik.baleca/32/68749_2.png) [@nik.baleca](https://community.auth0.com/u/nik.baleca)\
**Post date:** [May 12, 2025, 6:43pm UTC](https://community.auth0.com/t/two-tenants-both-setup-same-universal-login-but-one-includes-link-back-to-app-and-one-doesnt/186603/7 "2025-05-12T18:43:41Z")

</div>

Got it.

I believe that is because on the development tenant you have used the `Default App` created by the dashboard, which will include the `API` and `Credentials` tabs even if the application is set to a SPA. The one on the production environment I believe is a newly created SPA application, which would explain why it lacks the specific tabs.

Kind Regards,  
Nik

---

<div class="post-metadata">

**Author:** ![jr219](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/jr219/32/24143_2.png) [@jr219](https://community.auth0.com/u/jr219)\
**Post date:** [May 13, 2025, 2:54pm UTC](https://community.auth0.com/t/two-tenants-both-setup-same-universal-login-but-one-includes-link-back-to-app-and-one-doesnt/186603/8 "2025-05-13T14:54:55Z")

</div>

> [@nik.baleca](#):
>
> reated SPA application, which would explain why it lacks the specific tabs.
> 
> Kind Regards,

Thanks! Any idea why the lack of a login URL on the tenant would prevent the back to app button from appearing? Does it have something to do with the ticket creation?

---

<div class="post-metadata">

**Author:** ![nik.baleca](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/nik.baleca/32/68749_2.png) [@nik.baleca](https://community.auth0.com/u/nik.baleca)\
**Post date:** [May 13, 2025, 3:17pm UTC](https://community.auth0.com/t/two-tenants-both-setup-same-universal-login-but-one-includes-link-back-to-app-and-one-doesnt/186603/9 "2025-05-13T15:17:37Z")

</div>

No problem!

Just to be sure, I have tried submitting a password change ticket using the Management API while I had:

- both the tenant level Default Login Route and Application Login URI configured
- Only application login URI configured
- Only tenant level Default Login Route configured

In all of the scenarios the redirect button to the application was present.

This would be the cURL command executed with the relevant data:

```auto
curl -L 'https://{{AUTH0_DOMAIN}}/api/v2/tickets/password-change' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer {{API_TOKEN}}' \
-d '{"user_id":"auth0|{{USER_ID}}","client_id":"{{CLIENT_ID}}","ttl_sec":0,"mark_email_as_verified":false,"includeEmailInRedirect":true}'

```

Otherwise, as far as I know, there should not be any other settings which would prevent the button from appearing.

Kind Regards,  
Nik

---

<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:** [May 27, 2025, 3:18pm UTC](https://community.auth0.com/t/two-tenants-both-setup-same-universal-login-but-one-includes-link-back-to-app-and-one-doesnt/186603/10 "2025-05-27T15:18:22Z")

</div>

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