forked from 0xWheatyz/SPARC
feat(auth): add rate limiting to login and register endpoints #28
Reference in New Issue
Block a user
Delete Branch "feature/rate-limiting"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
slowapirate limiter to/auth/login(10 req/min per IP) and/auth/register(5 req/min per IP)Retry-Afterheader when rate limit is exceededCloses #9
Test plan
pytest tests/test_rate_limit.py(4 tests pass)🤖 Generated with Claude Code
AI-Manager referenced this pull request from 0xWheatyz/SPARC2026-03-26 05:42:22 +00:00