# Is it possible to set different Default Login Routes for different organizations?

**URL:** <https://community.auth0.com/t/is-it-possible-to-set-different-default-login-routes-for-different-organizations/186640>\
**Category:** Get Help\
**Tags:** new-universal-login-experience, login-experience\
**Created:** [May 13, 2025, 12:11am UTC](https://community.auth0.com/t/is-it-possible-to-set-different-default-login-routes-for-different-organizations/186640 "2025-05-13T00:11:07Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![natalie2](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/natalie2/32/71938_2.png) [@natalie2](https://community.auth0.com/u/natalie2)\
**Post date:** [May 13, 2025, 12:11am UTC](https://community.auth0.com/t/is-it-possible-to-set-different-default-login-routes-for-different-organizations/186640/1 "2025-05-13T00:11:08Z")

</div>

We would like for a user to be redirected to an organization specific URL after completing the change password form in the standard Universal login experience.

The documentation states in order to have a user redirect after the form is completed we need to set a default login URL for the application or tenant. The complication is we have dedicated login urls for each organization. I see that {organization\_name}  
as a parameter is accepted in Allowed Callback URLs but not Login URI. Is there a way to accomplish this with the existing configuration options?

---

<div class="post-metadata">

**Author:** ![Judith120Duvall](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/judith120duvall/32/74160_2.png) [@Judith120Duvall](https://community.auth0.com/u/Judith120Duvall)\
**Post date:** [May 13, 2025, 12:05pm UTC](https://community.auth0.com/t/is-it-possible-to-set-different-default-login-routes-for-different-organizations/186640/2 "2025-05-13T12:05:59Z")

</div>

Hello!  
You can’t directly use {organization\_name} in the Auth0 Application or Tenant Login URI for redirection after password change. While you could try encoding the redirect in the state parameter (less ideal) or customizing the Universal Login page (more complex), the recommended approach is to have Auth0 redirect to a generic success callback URL in your application. Your application then identifies the user’s organization and performs the final redirect to the organization-specific URL. This keeps the Auth0 flow cleaner and centralizes redirect logic in your application.

---

<div class="post-metadata">

**Author:** ![natalie2](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/natalie2/32/71938_2.png) [@natalie2](https://community.auth0.com/u/natalie2)\
**Post date:** [May 14, 2025, 7:04pm UTC](https://community.auth0.com/t/is-it-possible-to-set-different-default-login-routes-for-different-organizations/186640/3 "2025-05-14T19:04:23Z")

</div>

Thanks for your feedback. I am curious about the [Create a password change ticket endpoint](https://auth0.com/docs/api/management/v2/tickets/post-password-change))  
I have included the organization\_id in the body. According to the documentation when this is provided, " the redirect link in the prompt will include organization\_id and organization\_name query string parameters."

- I am not seeing this and was wondering if you could elaborate on what to expect here?

I also am curious how we would go about updating the Universal login form? The only controls I see are relevant to branding like colors, fonts.

---

<div class="post-metadata">

**Author:** ![natalie2](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/natalie2/32/71938_2.png) [@natalie2](https://community.auth0.com/u/natalie2)\
**Post date:** [May 20, 2025, 7:25pm UTC](https://community.auth0.com/t/is-it-possible-to-set-different-default-login-routes-for-different-organizations/186640/4 "2025-05-20T19:25:30Z")

</div>

I wanted to follow up with my solution for this

Constraint: We could not use Auth0’s one time password reset flow because not all of our users have emails

Solution:

- Write application code to request a change password ticket url via the management API and return it on the to the client if a user needs a password reset (a flag in our db)
- After password change in Auth0 actions use onExecutePostChallenge to redirect the user back to the organization login page
- onExecutePostLogin will check if the user has reset their password and add this as a custom claim
- Application will check this flag and update the user if they no longer need the password reset

---

<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:** [June 3, 2025, 7:25pm UTC](https://community.auth0.com/t/is-it-possible-to-set-different-default-login-routes-for-different-organizations/186640/5 "2025-06-03T19:25:45Z")

</div>

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