Skip to content

Enable Password Reset Using Cognito-Emailed Code - #489

Merged
jayfo merged 20 commits into
uwscope:developfrom
jayfo:newpwreset
Apr 15, 2024
Merged

Enable Password Reset Using Cognito-Emailed Code#489
jayfo merged 20 commits into
uwscope:developfrom
jayfo:newpwreset

Conversation

@jayfo

@jayfo jayfo commented Apr 14, 2024

Copy link
Copy Markdown
Contributor

Implement password resets via emailed code, together with server updates in:

uwscope/scope-aws-infrastructure#30

Adds a "Forgot Password?" prompt at login, which toggle a reset request form:

Registry App
Login
Reset Request

Request generates an email:

This code and a new password are entered:

Registry App
Reset Password

Confirmation is provided, and several account / password error conditions are handled (shown only with registry, the app provides identical error messages):

Registry
Confirmation of Reset
Sign In Account Incorrect
Sign In Password Incorrect
Reset Account Incorrect
Reset Code Incorrect

Cognito rate limits reset requests:

Registry
Rate Limit

Cognito does not allow a reset request if a person currently has a temporary password (i.e., reset by us):

Registry
Temporary Password

Includes more precise password validation feedback during update / reset:

Registry App
Update Password Validation

@jayfo jayfo mentioned this pull request Apr 14, 2024
@jayfo jayfo added this to the v0.14.0 milestone Apr 14, 2024
@jayfo

jayfo commented Apr 14, 2024

Copy link
Copy Markdown
Contributor Author

Fixes #310.

Fixes #456.

@jayfo
jayfo merged commit 8b3761d into uwscope:develop Apr 15, 2024
@jayfo
jayfo deleted the newpwreset branch April 15, 2024 16:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Improve Password Creation Error Feedback Allow Password Reset in Registry and Patient App

1 participant