Thanks to visit codestin.com
Credit goes to Github.com

Skip to content

Conversation

@ahus1
Copy link
Contributor

@ahus1 ahus1 commented Dec 15, 2025

Closes #37231

@ahus1 ahus1 self-assigned this Dec 15, 2025
@ahus1 ahus1 force-pushed the is-37231-reset-password-only-once branch 4 times, most recently from 1ff90ac to c6081fd Compare December 21, 2025 21:31
Closes keycloak#37231

Signed-off-by: Alexander Schwartz <[email protected]>
@ahus1 ahus1 force-pushed the is-37231-reset-password-only-once branch from c6081fd to c897d7b Compare January 8, 2026 12:19
@ahus1
Copy link
Contributor Author

ahus1 commented Jan 8, 2026

@pruivo - this touches the revoked token mechanism and applies it to reset password. Can you please have look at the ISPN parts? Let me know if you are OK to review the other parts as well, or if I should look for someone else.

Thanks!

pruivo
pruivo previously approved these changes Jan 8, 2026
Copy link
Member

@pruivo pruivo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ISPN changes look fine to me 👍

@ahus1 ahus1 requested a review from rmartinc January 8, 2026 16:13
@ahus1
Copy link
Contributor Author

ahus1 commented Jan 8, 2026

@rmartinc - May I ask you for a review of this PR? Thanks!

Copy link
Contributor

@rmartinc rmartinc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @ahus1! I tested this and it works OK for me. I thought that that doing this we could have issues with email scanners, but your solution is OK. It re-checks the token at the end, so no problem if the URL is scanned. Just a minor comment in the test. I prefer to check the reset password and the error. I approved it, but consider adding the checks in the test.

…keycloak/testsuite/forms/ResetPasswordTest.java

Co-authored-by: Ricardo Martin <[email protected]>
Signed-off-by: Alexander Schwartz <[email protected]>
@ahus1 ahus1 enabled auto-merge (squash) January 9, 2026 11:44
Copy link
Contributor

@rmartinc rmartinc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @ahus1!

@ahus1 ahus1 merged commit 83f31b1 into keycloak:main Jan 9, 2026
82 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Set New Password Multiple Times via Password Reset Function

4 participants