Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat: User Password Reset #33

Closed
8 tasks done
mukunzidd opened this issue Apr 29, 2024 · 0 comments · Fixed by #95
Closed
8 tasks done

Feat: User Password Reset #33

mukunzidd opened this issue Apr 29, 2024 · 0 comments · Fixed by #95
Assignees
Labels
backend Good for newcomers

Comments

@mukunzidd
Copy link
Contributor

mukunzidd commented Apr 29, 2024

Description

As a user (vendor or buyer), I want to be able to reset my account password in case I forget it or need to change it for security reasons so that I can regain access to my account and maintain its security.

Acceptance Criteria

  • Implement a password reset request API endpoint
  • Validate the user's email or account identifier
  • Generate and send a secure password reset token (e.g., via email)
  • Implement a password reset confirmation API endpoint
  • Validate the password reset token
  • Update the user's password with a new, securely hashed password
  • Implement appropriate error handling and responses
  • Implement input sanitization

Related Issues

  • #xx link any issues related to this

Definition of Done

  • Password reset request API endpoint is implemented and functional
  • User's email or account identifier is validated
  • Secure password reset tokens are generated and sent (e.g., via email)
  • Password reset confirmation API endpoint is implemented and functional
  • Password reset tokens are validated
  • User's password is updated with a new, securely hashed password
  • Appropriate error handling and responses are implemented
  • Input sanitization measures are in place
  • Unit tests are written and passing
  • Code adheres to coding standards and best practices
  • All created endpoints are documented
@mukunzidd mukunzidd added the backend Good for newcomers label Apr 29, 2024
@13XAVI 13XAVI mentioned this issue May 6, 2024
7 tasks
@bertrandshema bertrandshema added the WIP Work In Progress label May 6, 2024
@bertrandshema bertrandshema added this to the Authentication & RBAC milestone May 6, 2024
@bertrandshema bertrandshema linked a pull request May 7, 2024 that will close this issue
@bertrandshema bertrandshema removed the WIP Work In Progress label May 9, 2024
@bertrandshema bertrandshema linked a pull request May 24, 2024 that will close this issue
11 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend Good for newcomers
Projects
None yet
2 participants