Skip to content

Feature: Implement Email Verification System #514

Description

@adityayadav176

Feature: Implement Email Verification System

Description

Add an email verification system to ensure that only verified users can access chat functionality and other protected features.

Requirements

Backend

  • Create POST /auth/send-verification endpoint.
  • Generate a secure verification token or OTP.
  • Send verification email to the user's registered email address.
  • Create POST /auth/verify-email endpoint.
  • Update user verification status upon successful verification.
  • Prevent duplicate verification requests for already verified users.

Frontend

  • Display verification status in the user profile.
  • Add email verification page/UI.
  • Show success and error messages during verification.
  • Allow users to resend verification emails.

Security Considerations

  • Verification tokens should expire after a defined period.
  • Prevent abuse through request rate limiting.
  • Validate all incoming verification requests.

Expected Outcome

Only verified users should be able to access chat features, improving account security and authenticity.

Metadata

Metadata

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions