Commit 9e1d0e9
feat(security): add rate limiting to OAuth endpoints
- Install express-rate-limit dependency for protection against abuse
- Add comprehensive rate limiting configuration with JSON-RPC 2.0 error format
- Configure different limits: 100/15min for OAuth endpoints, 10/15min for token endpoint
- Include structured logging for rate limit violations
- Prepare for applying rate limits to sensitive OAuth routes
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent 8209ff6 commit 9e1d0e9
2 files changed
+32
-3
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| 45 | + | |
45 | 46 | | |
46 | 47 | | |
47 | 48 | | |
| |||
0 commit comments