Remove automated redirect for forgetPassword #179

Closed
opened 2026-03-13 07:36:26 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @svaraborut on GitHub (Nov 4, 2024).

Describe the bug
When calling forgetPassword the client automatically redirects to callbackURL breaking the authentication flow.

Expected behavior
The client shall not redirect as the callbackURL is forwarded to the user via email and is intended to be visited after the email link is clicked.

Originally created by @svaraborut on GitHub (Nov 4, 2024). **Describe the bug** When calling `forgetPassword` the client automatically redirects to `callbackURL` breaking the authentication flow. **Expected behavior** The client shall not redirect as the `callbackURL` is forwarded to the user via email and is intended to be visited after the email link is clicked.
Author
Owner

@Bekacru commented on GitHub (Dec 17, 2024):

The forgotPassword method no longer has the callbackURL argument and doesn’t redirect anywhere unless done manually by the user.

@Bekacru commented on GitHub (Dec 17, 2024): The `forgotPassword` method no longer has the `callbackURL` argument and doesn’t redirect anywhere unless done manually by the user.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#179