[GH-ISSUE #412] Password reset email token validity #8259

Closed
opened 2026-04-13 03:20:40 -05:00 by GiteaMirror · 0 comments
Owner

Originally created by @MrKepzie on GitHub (Nov 4, 2024).
Original GitHub issue: https://github.com/better-auth/better-auth/issues/412

If i set emailAndPassword.resetPasswordTokenExpiresIn anything lower than 86000 (roughly a day in seconds), then date verification check does not work for the token, I get INVALID_TOKEN in the callback.

I would expect token validity to work even for short period of time, like 10 minutes.

Originally created by @MrKepzie on GitHub (Nov 4, 2024). Original GitHub issue: https://github.com/better-auth/better-auth/issues/412 If i set emailAndPassword.resetPasswordTokenExpiresIn anything lower than 86000 (roughly a day in seconds), then date verification check does not work for the token, I get INVALID_TOKEN in the callback. I would expect token validity to work even for short period of time, like 10 minutes.
GiteaMirror added the locked label 2026-04-13 03:20:40 -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#8259