[PR #4502] [MERGED] feat(rate-limiter): allow disabling custom paths to not be rate limited #5413

Closed
opened 2026-03-13 12:22:02 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/4502
Author: @Bekacru
Created: 9/7/2025
Status: Merged
Merged: 9/7/2025
Merged by: @himself65

Base: canaryHead: fix/rate-limiting


📝 Commits (2)

  • e8e1d8a feat(rate-limiter): allow disabling custom paths to not be rate limited
  • d2d48c4 add doc

📊 Changes

4 files changed (+39 additions, -4 deletions)

View changed files

📝 docs/content/docs/concepts/rate-limit.mdx (+15 -0)
📝 packages/better-auth/src/api/rate-limiter/index.ts (+4 -0)
📝 packages/better-auth/src/api/rate-limiter/rate-limiter.test.ts (+11 -0)
📝 packages/better-auth/src/types/options.ts (+9 -4)

📄 Description

closes #4497


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/better-auth/better-auth/pull/4502 **Author:** [@Bekacru](https://github.com/Bekacru) **Created:** 9/7/2025 **Status:** ✅ Merged **Merged:** 9/7/2025 **Merged by:** [@himself65](https://github.com/himself65) **Base:** `canary` ← **Head:** `fix/rate-limiting` --- ### 📝 Commits (2) - [`e8e1d8a`](https://github.com/better-auth/better-auth/commit/e8e1d8ab6e83eb58ca6327a3a6e6a05a78883c13) feat(rate-limiter): allow disabling custom paths to not be rate limited - [`d2d48c4`](https://github.com/better-auth/better-auth/commit/d2d48c406ee0d87ee0ac1ced210ac9e491b0ef65) add doc ### 📊 Changes **4 files changed** (+39 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `docs/content/docs/concepts/rate-limit.mdx` (+15 -0) 📝 `packages/better-auth/src/api/rate-limiter/index.ts` (+4 -0) 📝 `packages/better-auth/src/api/rate-limiter/rate-limiter.test.ts` (+11 -0) 📝 `packages/better-auth/src/types/options.ts` (+9 -4) </details> ### 📄 Description closes #4497 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-03-13 12:22:02 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#5413