# Redirect to login page after signup using universal login

**URL:** <https://community.auth0.com/t/redirect-to-login-page-after-signup-using-universal-login/120014>\
**Category:** Get Help\
**Tags:** new-universal-login-experience, login-experience\
**Created:** [November 1, 2023, 7:23pm UTC](https://community.auth0.com/t/redirect-to-login-page-after-signup-using-universal-login/120014 "2023-11-01T19:23:11Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![gigivadachkoria](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/gigivadachkoria/32/52135_2.png) [@gigivadachkoria](https://community.auth0.com/u/gigivadachkoria)\
**Post date:** [November 1, 2023, 7:23pm UTC](https://community.auth0.com/t/redirect-to-login-page-after-signup-using-universal-login/120014/1 "2023-11-01T19:23:11Z")

</div>

How to redirect to login page after signing up, im using email verification to restrict loggin in unless email is verified, right now after signinup user is logged in straigt, how can i redirect to login pages insted of that

---

<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:** [November 1, 2023, 10:41pm UTC](https://community.auth0.com/t/redirect-to-login-page-after-signup-using-universal-login/120014/3 "2023-11-01T22:41:28Z")

</div>

Hi @gigivadachkoria,

Whenever a user signs up, they are automatically logged in by design. You could prevent the user from logging until they have verified their email address, as you have already done so.

Then, I recommend setting the Redirect To URL to your login page in your verification email template. This way, after the user has verified their email address, they will be redirected to your login page.

Please let me know if you have any questions on this.

Thanks,  
Rueben

---

<div class="post-metadata">

**Author:** ![gigivadachkoria](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/gigivadachkoria/32/52135_2.png) [@gigivadachkoria](https://community.auth0.com/u/gigivadachkoria)\
**Post date:** [November 2, 2023, 8:06am UTC](https://community.auth0.com/t/redirect-to-login-page-after-signup-using-universal-login/120014/4 "2023-11-02T08:06:43Z")

</div>

The problem with that is the login route which is provided by auth0 universal login, then does not work, it throws error

---

<div class="post-metadata">

**Author:** ![gigivadachkoria](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/gigivadachkoria/32/52135_2.png) [@gigivadachkoria](https://community.auth0.com/u/gigivadachkoria)\
**Post date:** [November 2, 2023, 8:50am UTC](https://community.auth0.com/t/redirect-to-login-page-after-signup-using-universal-login/120014/5 "2023-11-02T08:50:10Z")

</div>

requirement is to stop user from logging in when user signs up, is that achievable with universal login and auth0?

---

<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:** [November 9, 2023, 8:07pm UTC](https://community.auth0.com/t/redirect-to-login-page-after-signup-using-universal-login/120014/6 "2023-11-09T20:07:57Z")

</div>

Hi @gigivadachkoria,

> [@gigivadachkoria](#):
>
> The problem with that is the login route which is provided by auth0 universal login, then does not work, it throws error

Could you please share what was the error it threw?

> [@gigivadachkoria](#):
>
> requirement is to stop user from logging in when user signs up, is that achievable with universal login and auth0?

Yes, please check out [this FAQ](https://community.auth0.com/t/verifying-users-in-actions/84669) on verifying users in Actions.

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:** [November 23, 2023, 8:08pm UTC](https://community.auth0.com/t/redirect-to-login-page-after-signup-using-universal-login/120014/7 "2023-11-23T20:08:23Z")

</div>

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