Forget password flow not working on 1.4

It looks for /auth/forget-password and does a 404?
4 Replies
Ping
Ping2d ago
Please read the breaking changes stated in our 1.4 release notes: https://better-auth.com/blog/1-4
Better Auth 1.4 | Better Auth
Stateless Auth, SCIM, Optimized database queries, additional state in OAuth flows, performance improvements, SSO domain verification, and more!
mael
maelOP2d ago
I did! I changed to the new API method that I call on authClient,but it still tries to query an URL that doesn't exist? eg /auth/forget-password
Ping
Ping2d ago
that's not possible, it's likely you forgot something. If you're calling authClient.requestPasswordReset it will 100% hit /request-password-reset, it's not hard-coded endpoints strings under the hood on the auth-client, we infer the path based on the function name you call.
mael
maelOP2d ago
indeed, might have forgotten to replace one!

Did you find this page helpful?