saas-starter
saas-starter copied to clipboard
Forgot password flow
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.
💯 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 Yes please! react-email is also very easy, I can add it to the repo.
My favorite is the Vercel theme:
hey @leerob can you please help me in local setup?
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
Is anyone currently working on this?
Bump, also interested in this.
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?
What's the current state here? Is anyone working on this?
Interested
Bump!
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).