Skip to content

DEV - Change Password Backend Route/Connect to Change Password Frontend to Backend #348

@prooflesben

Description

@prooflesben

Overview

This ticket will be for the backend route we will use to have users change their password. This ticket will mostly be calls to aws cognito and their methods to change passwords and verify the user inputted the correct password. Make sure to handle all the errors correct with the correct status codes and appropriate logger logging for errors and regular operations so we can know what our backend is doing.

Tasks

  • Create the change password backend route
    • Currently a setNewPassword route exist in the auth module edit this route with the parameters defined in this ticket and a new name change-password.
  • Ensure the inputted password is correct and verify through Cognito.
  • Ensure the new password fulfills our password requirements.
  • Connect change password frontend screen to the newly created backend route

Acceptance Criteria

  • Route changes the users password and they are able to login with their new password.
  • The old password is correct and appropriate errors are thrown and communicated when it is not.
  • New password passes all checks and is updated correctly.
  • Frontend is connected to backend and works as it should with graceful error handling.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions