Reset Password Documentation for email and password auth is wrong #1342

Closed
opened 2026-03-13 08:33:59 -05:00 by GiteaMirror · 2 comments
Owner

Originally created by @vachanmn123 on GitHub (Jun 11, 2025).

Is this suited for github?

  • Yes, this is suited for github

To Reproduce

Head over to https://www.better-auth.com/docs/authentication/email-password#request-password-reset

Current vs. Expected behavior

currently after the setup docs related to adding the sendResetPassword, an example is provided for the client-side to request a password reset

const { data, error } = await authClient.requestPasswordReset({
  email: "test@example.com",
  redirectTo: "/reset-password",
});

However, the function requestPasswordReset does not exist. Instead the function forgetPassword must be used.

What version of Better Auth are you using?

1.2.8

Provide environment information

- OS: MacOS Sequoia
- Browser: Brave

Which area(s) are affected? (Select all that apply)

Documentation

Auth config (if applicable)


Additional context

No response

Originally created by @vachanmn123 on GitHub (Jun 11, 2025). ### Is this suited for github? - [x] Yes, this is suited for github ### To Reproduce Head over to https://www.better-auth.com/docs/authentication/email-password#request-password-reset ### Current vs. Expected behavior currently after the setup docs related to adding the `sendResetPassword`, an example is provided for the client-side to request a password reset ```ts const { data, error } = await authClient.requestPasswordReset({ email: "test@example.com", redirectTo: "/reset-password", }); ``` However, the function `requestPasswordReset` does not exist. Instead the function `forgetPassword` must be used. ### What version of Better Auth are you using? 1.2.8 ### Provide environment information ```bash - OS: MacOS Sequoia - Browser: Brave ``` ### Which area(s) are affected? (Select all that apply) Documentation ### Auth config (if applicable) ```typescript ``` ### Additional context _No response_
Author
Owner

@vachanmn123 commented on GitHub (Jun 11, 2025):

I have created a PR for the fix, hope that would solve the issue

@vachanmn123 commented on GitHub (Jun 11, 2025): I have created a PR for the fix, hope that would solve the issue
Author
Owner

@vachanmn123 commented on GitHub (Jun 11, 2025):

Closing this, I missed the version release and was on the older release. Sorry!

@vachanmn123 commented on GitHub (Jun 11, 2025): Closing this, I missed the version release and was on the older release. Sorry!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#1342