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

[P2] Add password reset tokens #152

Open
willroberts opened this issue Oct 16, 2022 · 1 comment
Open

[P2] Add password reset tokens #152

willroberts opened this issue Oct 16, 2022 · 1 comment
Labels
backend Related to server / worker code enhancement New feature or request help wanted Extra attention is needed

Comments

@willroberts
Copy link
Collaborator

Summary

Since we removed email-based forgot password flows (see git log for original code), we should add an alternative system for password resets. One way to do this is with "recovery tokens", as seen on sites with MFA flows. We could give a user one recovery token which can be used to validate a one-time password reset, which then grants a new recovery token. These could be stored as (user_id, token) in a new Postgres table, and can be deleted after successful use.

@willroberts willroberts added enhancement New feature or request help wanted Extra attention is needed backend Related to server / worker code labels Oct 16, 2022
@willroberts willroberts changed the title [P2] Add password reset tokens [P0] Add password reset tokens Oct 18, 2022
@willroberts willroberts changed the title [P0] Add password reset tokens [P2] Add password reset tokens Oct 24, 2022
@dillfrescott
Copy link

Can't wait for this feature!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend Related to server / worker code enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants