Skip to content

Feature: Add Forgot Password Functionality #90

@Annanyatiwary4

Description

@Annanyatiwary4

Description

Currently, DevSync does not have a Forgot Password feature, which is essential for user account recovery. This issue aims to implement a secure and user-friendly forgot password functionality so users can reset their password if they forget it.

Frameworks / Libraries to Use: React, Tailwind CSS, ShadCN UI, Aceternity UI, nodemailer

Tasks

Frontend / Implementation

  • Add a Forgot Password link on the login page.
  • Create a form where users can enter their registered email address.
  • Show proper success and error messages (e.g., email sent, invalid email, etc.).
  • Design the UI using ShadCN UI, Aceternity UI, and Tailwind CSS.

Backend / Implementation

  • Implement API endpoint to handle forgot password requests.
  • Generate a secure reset token linked to the user.
  • Send an email with a reset password link/code to the user.
  • Add an endpoint to reset the password using the token.
  • Ensure token expires after a certain duration for security.

Testing

  • Verify reset flow end-to-end (request → email → reset form → success).
  • Test edge cases like expired tokens, invalid emails, or reused tokens.

🎯 GSSoC 2025

  • Level: 3 (10 Points)
  • Estimated Completion Time: 3–4 days

General Contribution Guidelines

  • Pull the latest changes from the main branch before raising a PR.
  • PRs for unassigned issues will be rejected.
  • Complete your current PR before claiming a new issue.
  • Follow the project’s style and branding consistency.
  • Ensure your work is reviewed before submitting a PR.

To Know More

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions