Skip to content

Support or move to in-memory requests throttling control for email IDP endpoints #4069

Open
1 of 1 issue completed

Description

@marcelomendoncasoares

While working on the PR #4058, we realized that controlling request throttling on the database can lead to a lot of dangling entries - failed email login attempts, failed password reset complete attempts, etc. - and can lead to a high volume of database requests when under attack. The entries can be cleaned up using the admin, but it might be more performatic - and safe - to favor an in-memory approach, such as using Redis.

There is room for discussion if we should abstract this feature to have support using either the database or Redis, since not all Serverpod deploys will have the global cache. Another approach would be to move completely away from the database and use the existing available cache - be it global or local, even though local would result in higher attack tolerance.

Sub-issues

Sub-issues

1 of 1 Issues completed
Loading 1 sub-issues

Activity

  1. added
    area: authentication
    on Oct 16, 2025
  2. moved this from Inbox 📫 to Planned 🔭 in Serverpod Frameworkson Oct 23, 2025
  3. moved this from Planned 🔭 to In Progress 🔥 in Serverpod Frameworkson Oct 23, 2025
  4. self-assigned this
    on Oct 23, 2025
  5. moved this from In Progress 🔥 to Next Up 🎯 in Serverpod Frameworkson Oct 24, 2025
  6. removed their assignment
    on Oct 24, 2025
  7. moved this from Next Up 🎯 to Planned 🔭 in Serverpod Frameworkson Nov 7, 2025
  8. moved this from Planned 🔭 to Next Up 🎯 in Serverpod Frameworkson Nov 14, 2025
  9. moved this from Next Up 🎯 to Planned 🔭 in Serverpod Frameworkson Nov 14, 2025
  10. moved this from Planned 🔭 to Backlog 🗂️ in Serverpod Frameworkson Nov 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: authentication

    Type

    No type

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions