# Question about handling failed logins from blocked users

**URL:** <https://community.auth0.com/t/question-about-handling-failed-logins-from-blocked-users/91813>\
**Category:** Get Help\
**Created:** [October 5, 2022, 9:52am UTC](https://community.auth0.com/t/question-about-handling-failed-logins-from-blocked-users/91813 "2022-10-05T09:52:15Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![ty.frith](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ty.frith/32/58484_2.png) [@ty.frith](https://community.auth0.com/u/ty.frith)\
**Post date:** [October 11, 2022, 11:14pm UTC](https://community.auth0.com/t/question-about-handling-failed-logins-from-blocked-users/91813/3 "2022-10-11T23:14:12Z")

</div>

Hi there @patara.kulratanayan! I apologize for the delay here but wanted to get back on this one. It is unfortunately not possible to keep the user within the context of Universal Login in this scenario. That is, Auth0 will always redirect to the application with the relevant params which is expected to handle it. The following post elaborates on this a bit:

> [@Univeral Login (Classic) and Blocked Users](https://community.auth0.com/t/univeral-login-classic-and-blocked-users/57619/7):
>
> You are correct! I was mistaken about the rules piece when it comes to blocked users. Sorry for any confusion that might have caused! If you take a look at the [Block and Unblock Users](https://auth0.com/docs/users/block-and-unblock-users#block-a-user) docs, it notes: If a blocked user tries to access an application, they will be redirected to the application with the error message user is blocked in the URL. The change in behavior is due to using the Universal Login instead of an embedded login. There are many security benefits to using the Universal Login…

We have an existing feedback request that I recommend upvoting if you can! Our product team monitors these closely for community engagement. 👇

> [@Custom errors for Universal Login Page](https://community.auth0.com/t/custom-errors-for-universal-login-page/69844):
>
> Feature: Parameter to pass a custom error message to the Auth0 hosted universal login. Description: Currently it is not possible to pass a custom error message when calling the browser SDK loginWithRedirect method that is then displayed on the Auth0 hosted Universal Login. Use-case: Our login completely relies on the Auth0 hosted Login Page and we do not have any page implemented for not logged in users (and therefore no place to show error messages to login scenarios). Our current use-case i…

---

_[View the full topic](https://community.auth0.com/t/question-about-handling-failed-logins-from-blocked-users/91813)._
