# Trying to unsuccessfully login 20 times doesn't throw too\_many\_attempts exception anymore?

**URL:** <https://community.auth0.com/t/trying-to-unsuccessfully-login-20-times-doesnt-throw-too-many-attempts-exception-anymore/59493>\
**Category:** Get Help\
**Tags:** too\_many\_attempts-no, brute-force, auth0\
**Created:** [March 16, 2021, 3:28am UTC](https://community.auth0.com/t/trying-to-unsuccessfully-login-20-times-doesnt-throw-too-many-attempts-exception-anymore/59493 "2021-03-16T03:28:07Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![yevheniy.rohozhnikov](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/yevheniy.rohozhnikov/32/21862_2.png) [@yevheniy.rohozhnikov](https://community.auth0.com/u/yevheniy.rohozhnikov)\
**Post date:** [March 16, 2021, 3:28am UTC](https://community.auth0.com/t/trying-to-unsuccessfully-login-20-times-doesnt-throw-too-many-attempts-exception-anymore/59493/1 "2021-03-16T03:28:07Z")

</div>

Hi,

I would like to get some help with the Brute-Force Protection.

With the old Auth0 Dashboard UI I had the ability to enable/disable blocking a user if they entered a password incorrectly 20 times.  
An exception that I used to get was “too\_many\_attempts”.  
Now it’s no longer an option. Based on this doc: [Brute-Force Protection](https://auth0.com/docs/attack-protection/brute-force-protection) only specific IP addresses will be blocked after 10 attempts, but there is no option to block the User.  
I still can see this error In common Errors: [Common Auth0 Library Authentication Errors](https://auth0.com/docs/libraries/common-auth0-library-authentication-errors).  
I need your help to figure out what’s triggering it now.

I remember this functionality there before 🙂

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [March 17, 2021, 2:18pm UTC](https://community.auth0.com/t/trying-to-unsuccessfully-login-20-times-doesnt-throw-too-many-attempts-exception-anymore/59493/3 "2021-03-17T14:18:47Z")

</div>

Hey there!

So you’re saying that you have Brute-Force protection enabled and with more than 10 unsuccessful login attempts it’s not blocking the user?

---

<div class="post-metadata">

**Author:** ![yevheniy.rohozhnikov](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/yevheniy.rohozhnikov/32/21862_2.png) [@yevheniy.rohozhnikov](https://community.auth0.com/u/yevheniy.rohozhnikov)\
**Post date:** [March 17, 2021, 2:38pm UTC](https://community.auth0.com/t/trying-to-unsuccessfully-login-20-times-doesnt-throw-too-many-attempts-exception-anymore/59493/4 "2021-03-17T14:38:00Z")

</div>

Hi Konrad,

It’s blocking the IP address after 10 unsuccessful logins for a specific email. Not the User, which means I still can log in if I have a different IP address and correct email/password. (This is working as expected)

But, what I’m looking for is the old functionality. It used to block a User after 20 unsuccessful logins, not the IP, but the user. The user used to receive an email that stayed something like - too many attempts were unsuccessful and there was ability to unblock.  
When this error happened before, we used to see too\_many\_attempts error.

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [March 17, 2021, 2:40pm UTC](https://community.auth0.com/t/trying-to-unsuccessfully-login-20-times-doesnt-throw-too-many-attempts-exception-anymore/59493/5 "2021-03-17T14:40:41Z")

</div>

Gotchya! Let me research if that feature is still there!

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [March 17, 2021, 3:44pm UTC](https://community.auth0.com/t/trying-to-unsuccessfully-login-20-times-doesnt-throw-too-many-attempts-exception-anymore/59493/6 "2021-03-17T15:44:47Z")

</div>

Hmm can’t seem to find any reference regarding that and as far as I remember (I’ve been working here since October 2018) I don’t remember such feature. Do you remember if it was associated with Brute-Force protection or maybe rules or something?

---

<div class="post-metadata">

**Author:** ![yevheniy.rohozhnikov](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/yevheniy.rohozhnikov/32/21862_2.png) [@yevheniy.rohozhnikov](https://community.auth0.com/u/yevheniy.rohozhnikov)\
**Post date:** [March 17, 2021, 5:11pm UTC](https://community.auth0.com/t/trying-to-unsuccessfully-login-20-times-doesnt-throw-too-many-attempts-exception-anymore/59493/7 "2021-03-17T17:11:35Z")

</div>

I don’t remember, if this was part of the Brute-Force or not, as the UI has changed. But I have enabled this feature under the Security. It was working a few months ago and for sure, this wasn’t a Rule error.

When we tried to log in unsuccessfully 20 times or more, we would get **“too\_many\_attempts”** exception.  
You also can see this exception in “Common Auth0 Library Authentication Errors” under “Log in” section [Common Auth0 Library Authentication Errors](https://auth0.com/docs/libraries/common-auth0-library-authentication-errors#log-in)

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [March 17, 2021, 6:02pm UTC](https://community.auth0.com/t/trying-to-unsuccessfully-login-20-times-doesnt-throw-too-many-attempts-exception-anymore/59493/8 "2021-03-17T18:02:16Z")

</div>

Let me try to dive deeper into it! I’ll get back to you soon!

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [March 18, 2021, 10:47am UTC](https://community.auth0.com/t/trying-to-unsuccessfully-login-20-times-doesnt-throw-too-many-attempts-exception-anymore/59493/9 "2021-03-18T10:47:16Z")

</div>

Hey there!

Managed to discuss it internally you might be talking about the second bullet point here:

> **[User/Password Authentication Rate Limits](https://auth0.com/docs/troubleshoot/customer-support/operational-policies/rate-limit-policy/database-connections-rate-limits)**
>
> Describes how Auth0 limits the number of repeat login attempts per user and IP address on database connections.

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [March 18, 2021, 10:47am UTC](https://community.auth0.com/t/trying-to-unsuccessfully-login-20-times-doesnt-throw-too-many-attempts-exception-anymore/59493/10 "2021-03-18T10:47:31Z")

</div>

It’s more of a rate limit rather than a block

---

<div class="post-metadata">

**Author:** ![yevheniy.rohozhnikov](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/yevheniy.rohozhnikov/32/21862_2.png) [@yevheniy.rohozhnikov](https://community.auth0.com/u/yevheniy.rohozhnikov)\
**Post date:** [March 18, 2021, 3:07pm UTC](https://community.auth0.com/t/trying-to-unsuccessfully-login-20-times-doesnt-throw-too-many-attempts-exception-anymore/59493/11 "2021-03-18T15:07:21Z")

</div>

Thanks for looking into this.  
The rate limit is nice functionality, but unfortunately, this isn’t something that I was referring to. Before we had a functionality that would block a user after 20 unsuccessful attempts and it would throw **too\_many\_attempts** exception. I know I don’t provide any new information, but this is what I have.

If you can’t find it. Do you know if there is a way to simulate this behavior?  
Thanks.

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [March 29, 2021, 9:46am UTC](https://community.auth0.com/t/trying-to-unsuccessfully-login-20-times-doesnt-throw-too-many-attempts-exception-anymore/59493/12 "2021-03-29T09:46:10Z")

</div>

Unfortunately as of now, I don’t see any features in our stack nor any API endpoints that will allow you to stimulate that

---

<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:** [April 13, 2021, 9:46am UTC](https://community.auth0.com/t/trying-to-unsuccessfully-login-20-times-doesnt-throw-too-many-attempts-exception-anymore/59493/13 "2021-04-13T09:46:23Z")

</div>

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