Skip to content

###πŸ“Œ [Backend] Implement Password Reset FunctionalityΒ #9

@agaesh

Description

@agaesh

Type: Feature
Labels: backend, authentication, high-priority


🎯 Objective

Implement a secure "Forgot Password" and "Reset Password" feature in the backend, including token generation, storage, and verification.


βœ… Tasks

  • Create New PasswordReset Migration
  • Create a new table PasswordResetTokens
  • Generate secure reset token and store with expiration
  • Send token via email (optional or mock email)
  • Add endpoint to verify token + reset password
  • Invalidate token after use
  • Return proper success/error responses

πŸ§ͺ Acceptance Criteria

  • Password reset works securely via token-based flow
  • Token is valid only once and expires in 1 hour
  • Backend handles all logic; frontend will consume API

πŸ“‚ Suggested Branch

feature/password-reset-backend

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions