hngprojects / hng_boilerplate_python_fastapi_web

Apache License 2.0
154 stars 135 forks source link

[FIX] Add rate-limit to authentication routes and other necessary part. #939

Open johnson-oragui opened 3 months ago

johnson-oragui commented 3 months ago

Describe the bug The authentication routes without rate-limits are open to all kinds of attacks and abuse like:

Expected behavior When concurrency is used in accessing the resources on the API, it comes to a point where the API slows down, with rate-limiting, the API is expected to block or deny access to this kind of abuse.

Related Issue

Rate limit

johnson-oragui commented 3 months ago

@MikeSoft007

MikeSoft007 commented 3 months ago

Assign to me