# Disable auto login and redirect when signing up

**URL:** <https://community.auth0.com/t/disable-auto-login-and-redirect-when-signing-up/53768>\
**Category:** Get Help\
**Created:** [November 24, 2020, 9:54am UTC](https://community.auth0.com/t/disable-auto-login-and-redirect-when-signing-up/53768 "2020-11-24T09:54:14Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![lyndon.fawcett](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/lyndon.fawcett/32/18797_2.png) [@lyndon.fawcett](https://community.auth0.com/u/lyndon.fawcett)\
**Post date:** [November 24, 2020, 9:54am UTC](https://community.auth0.com/t/disable-auto-login-and-redirect-when-signing-up/53768/1 "2020-11-24T09:54:14Z")

</div>

I’m using the new universal login, and I want to wait for a user to validate their email before signing into the application.

I’m currently using [Verify Emails using Auth0 - Auth0 Docs](https://auth0.com/rules/email-verified), but this still redirects a user after login, which as the application does not support users with non-validated emails, leaves them with a janky experience. Ideally, I should be able to show a message after sign-up saying please check your email…

On top of this, it would be nice to know if I could create custom error messages on a callback. Currently, I can do: callback(“error description”) callback(New Error(“error description”)) or callback(New UnauthorisedError(“error description”)), but none of these let me change the error subject/title (the bit that is passed in the query parameter as ?error=).

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [November 30, 2020, 7:47pm UTC](https://community.auth0.com/t/disable-auto-login-and-redirect-when-signing-up/53768/3 "2020-11-30T19:47:17Z")

</div>

Hi @lyndon.fawcett,

You can use a [redirect rule](https://auth0.com/docs/rules/redirect-users) to hold the user while you wait for email verification.

I’ll pass the error feedback on to the product team.

---

<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:** [December 15, 2020, 7:50pm UTC](https://community.auth0.com/t/disable-auto-login-and-redirect-when-signing-up/53768/5 "2020-12-15T19:50:12Z")

</div>

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