Skip to content

Implement Forgot Password Endpoint #368

Description

@ayshadogo

Description:
Allow users to request a password reset via email.

Tasks:

  • Create POST /api/auth/forgot-password
  • Find user by email (always return 200 to avoid user enumeration)
  • Generate a secure reset token and save its hash + expiry to the user document
  • Send password reset email with the token link

Acceptance Criteria:
An email with a reset link is sent if the email exists in the system.


Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave program

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions