# Deleted user can log in and redirected to call-back page with #error in url

**URL:** <https://community.auth0.com/t/deleted-user-can-log-in-and-redirected-to-call-back-page-with-error-in-url/52913>\
**Category:** Get Help\
**Tags:** login, auth0\
**Created:** [November 9, 2020, 12:01pm UTC](https://community.auth0.com/t/deleted-user-can-log-in-and-redirected-to-call-back-page-with-error-in-url/52913 "2020-11-09T12:01:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mgdskr](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/mgdskr/32/14766_2.png) [@mgdskr](https://community.auth0.com/u/mgdskr)\
**Post date:** [November 9, 2020, 12:01pm UTC](https://community.auth0.com/t/deleted-user-can-log-in-and-redirected-to-call-back-page-with-error-in-url/52913/1 "2020-11-09T12:01:27Z")

</div>

Deleted user can log in and is being redirected to callback page with error in url #error=unauthorized&error\_description=Access%20denied.&state  
I would rather expect universal login form would handle it for me and will show warning message that login is forbidden or something like that.  
In my case it causes an infinite loop of redirects because of consequent call of checkSession redirects back to callbackpage with #error instead of passing error as callback param here

webAuth.checkSession({  
nonce: ‘1234’,  
}, function (err, authResult) {  
…  
});

---

<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 10, 2020, 9:43pm UTC](https://community.auth0.com/t/deleted-user-can-log-in-and-redirected-to-call-back-page-with-error-in-url/52913/3 "2020-11-10T21:43:23Z")

</div>

I wasn’t able to recreate this, a deleted user acts the same as a user that does not exist for me. Can you DM me your tenant name so I can take a look at the logs.

---

<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 14, 2020, 4:30pm UTC](https://community.auth0.com/t/deleted-user-can-log-in-and-redirected-to-call-back-page-with-error-in-url/52913/4 "2020-12-14T16:30:46Z")

</div>

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