beardofedu / beardofedu/agentic-workflows-projects

[AUTH-003] Auth: Password reset & forgot password flow

Open
#7 0 comments 0 reactions 0 assignees View on GitHub
auth enhancement sprint-2
Dominant language
CSS
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

## Overview
Allow users to reset their password via a time-limited email link.

## Acceptance Criteria
- [ ] "Forgot Password" link on login modal
- [ ] `POST /api/auth/forgot-password` sends reset email (always returns 200 to prevent enumeration)
- [ ] Reset link expires after 1 hour
- [ ] `POST /api/auth/reset-password` validates token and sets new password
- [ ] All active sessions invalidated after password reset
- [ ] Confirmation screen after successful reset

## Security Notes
- Tokens must be cryptographically random (not guessable)
- One-time use only — invalidate token immediately after use

## Depends On
- #5 AUTH-001 — requires user lookup and session invalidation logic

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.