Skip to content
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

Set Up User Email Verification #9

Open
Laxmi2707 opened this issue Jan 25, 2025 · 0 comments
Open

Set Up User Email Verification #9

Laxmi2707 opened this issue Jan 25, 2025 · 0 comments
Labels
enhancement New feature or request Hard IWOC2025

Comments

@Laxmi2707
Copy link
Member

Description

Implement email verification for newly registered users to ensure that only valid email addresses are used.

Steps to Implement

  1. Set up email service using nodemailer to send verification emails.
  2. Generate a unique token and include it in the email.
  3. Create an endpoint (GET /auth/verify/:token) to verify the email when the user clicks the link.
  4. Mark the user as verified in the database once the token is validated.

Expected Outcome

Newly registered users receive an email verification link, and only verified users can log in.

@Durgesh4993 Durgesh4993 added enhancement New feature or request Hard IWOC2025 labels Jan 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Hard IWOC2025
Projects
None yet
Development

No branches or pull requests

2 participants