Hi all and thank you for your time in advance!
So I’ve seen a situation come up where an Auth0 user attempts to sign in , and they fail to due to an Auth0 rule.
Rule Snippet →
if (user.app_metadata.deactivated === true) {
return callback(new UnauthorizedError("User has been deactivated and is unable to login."));
The Auth0 History for the user shows
Type: Failed Login
Description: User has been deactivated and is unable to login.
however the “last_login” date for the user is updated to this date, and i would expect that not to happen.
Is this a known bug? i saw a closed ticket about this with no public resolution Last_login updated even if a user is blocked (on profile)
that feels very similar.
Thank you for your time,
Chris Ward