I'm registering a noAuth route. When this route is accessed, the x-api-key is present in the header, but this key doesn’t match any user. As a result, an incorrect login attempt is logged, yet the route still processes. However, if the number of requests gets too high, they end up being blocked due to frequent failed login attempts.
This doesn’t seem entirely logical: either it should reject such requests outright, or it should check for noAuth first and not treat them as login attempts.
This doesn’t seem entirely logical: either it should reject such requests outright, or it should check for noAuth first and not treat them as login attempts.
Comment