-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add email service and reset password flow #49
base: main
Are you sure you want to change the base?
Conversation
@jonkurtis is attempting to deploy a commit to the leerob-site Team on Vercel. A member of the Team first needs to authorize it. |
This will be a great addition. I didn't seem how the email send out ? (Do we need config some sort of smtp or ?) |
Great work mate. Wondering about account verification though. |
@patra0o +1. I think send verification email after sign-up will be a great addition too. |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
it is setup to use Resend. You setup an account at Resend.com and add the api key as shown in Resend was suggested as a good solution for this feature by @leerob here #12 (comment) |
thanks. |
Hi @jonkurtis, I am testing out locally. |
react: ResetPasswordEmail({ | ||
username, | ||
email: to, | ||
resetPasswordLink: `http://localhost:3000/reset-password?token=${token}`, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this line should be
resetPasswordLink: `${process.env.NEXT_PUBLIC_SITE_URL}/reset-password?token=${token}`
addresses #12 for password reset flow. also add email service with invite and reset password email templates using resend and react-email.