Skip to content

[SYNCOPE-1975] Throttle password reset requests#1419

Merged
ilgrosso merged 8 commits into
apache:masterfrom
massx1:security-password-reset-throttling
Jun 16, 2026
Merged

[SYNCOPE-1975] Throttle password reset requests#1419
ilgrosso merged 8 commits into
apache:masterfrom
massx1:security-password-reset-throttling

Conversation

@massx1

@massx1 massx1 commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

This change adds configurable throttling for anonymous password reset requests.

The throttling is applied before user lookup, so repeated requests for both existing and non-existing usernames are handled consistently.

When the configured threshold is exceeded, Syncope returns HTTP 429 Too Many Requests with a Retry-After header.

The feature is controlled by dedicated security properties.

The client address is included in the throttling key to avoid allowing an attacker who knows a username or email address to globally block password reset requests for that account.

@ilgrosso ilgrosso changed the title [SYNCOPE-1975] - Throttle password reset requests [SYNCOPE-1975] Throttle password reset requests Jun 10, 2026
@massx1 massx1 force-pushed the security-password-reset-throttling branch from b6fa87d to 3fbe13e Compare June 11, 2026 11:34
@massx1 massx1 force-pushed the security-password-reset-throttling branch from 3fbe13e to 9fcaa3e Compare June 15, 2026 09:14
@ilgrosso

Copy link
Copy Markdown
Member

@massx1 the PR looks ok now, please add some docs and we can merge it

@ilgrosso ilgrosso merged commit d4b78c8 into apache:master Jun 16, 2026
0 of 26 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants