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

Feature/backend auth forgot password #29

Open
wants to merge 14 commits into
base: master
Choose a base branch
from

Conversation

montekaka
Copy link
Collaborator

Adds forgot password, it will also allow pre-existing volunteers to sign up to our service.

Forgot password implemented as

  1. User makes a POST request to /auth/forgot_password with its 911 VM email address.
  2. Then we will find the user from database with the email address, and generate an access token and expires date (e.g. now + 30 mins)
  3. Send an reset password email with the access token
  4. Allow user to create a new password with the access token

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.

1 participant