casa
casa copied to clipboard
Add rate limiting to /api/v1/users/sign_in endpoint
Part of epic #3942
What type of user does this affect?
- volunteers
How should it operate? ⚙️🛠️
Endpoint should now have rate limits.
No more than 5 requests every 60 seconds is allowed to /api/v1/users/sign_in from a given ip or email.
Acceptance Criteria
- [ ]
ipis throttled on the above criteria inconfig/initializers/rack_attack.rb - [ ]
Emailis throttled on the above criteriaconfig/initializers/rack_attack.rb
Helpful Links
Rake::Attack Documentation ( Scroll down to "Throttling" header ) Rake::Attack file in this Codebase
@7riumph I want to try on this.
@Raushan998 these issues are reserved for another dev group to work on - codethechange
This issue has been open without changes for a long time! What's up?