saas-starter icon indicating copy to clipboard operation
saas-starter copied to clipboard

Forgot password flow

Open TimMikeladze opened this issue 1 year ago • 11 comments

At the moment it's not possible to reset a forgotten password.

I suggest a basic reset password flow by sending the user a password reset link to their email.

Maybe using resend? But should be easily swappable with other email libraries.

TimMikeladze avatar Sep 16 '24 21:09 TimMikeladze

💯 I am thinking we'd use Resend and react-email for both this, as well as the team invite flow.

https://github.com/leerob/next-saas-starter/blob/afff269d7ad8d6b90f5bf2c50dbf15b2ebc285d6/app/(login)/actions.ts#L417-L420 https://github.com/resend/react-email/tree/main/examples/resend

leerob avatar Sep 16 '24 22:09 leerob

@leerob Yes please! react-email is also very easy, I can add it to the repo.

My favorite is the Vercel theme:

MJomaa avatar Sep 17 '24 21:09 MJomaa

hey @leerob can you please help me in local setup?

atikkk avatar Sep 18 '24 09:09 atikkk

hey @leerob can you please help me in local setup?

where are you getting stuck? The PR I made might be helpful. https://github.com/leerob/next-saas-starter/pull/14

jonkurtis avatar Sep 18 '24 20:09 jonkurtis

Is anyone currently working on this?

imkrish7 avatar Apr 22 '25 19:04 imkrish7

Bump, also interested in this.

s04 avatar Apr 23 '25 17:04 s04

Is anyone currently working on this?

just resolved merge conflicts on https://github.com/nextjs/saas-starter/pull/49/

@leerob is there anything else that needs to be addressed? Are you accepting PRs from the community?

jonkurtis avatar Apr 23 '25 17:04 jonkurtis

What's the current state here? Is anyone working on this?

yttasdfghjk avatar May 23 '25 09:05 yttasdfghjk

Interested

angelotc avatar Jun 10 '25 22:06 angelotc

Bump!

lauaall avatar Jun 12 '25 19:06 lauaall

Took me a couple hours to implement this using Claude Code... Ended up using @MJomaa 's suggestion of react-email and Resend, which requires another API key (added dependency).

angelotc avatar Jun 20 '25 04:06 angelotc