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

Create forgot password functionality #2

Open
CryptoSingh1337 opened this issue Oct 28, 2023 · 0 comments
Open

Create forgot password functionality #2

CryptoSingh1337 opened this issue Oct 28, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@CryptoSingh1337
Copy link
Owner

  • On clicking forgot password, redirect to the forgot password page.
  • On forgot password page, ask for user's email and check if its a registered user or its a OAuth user.
  • If its a registered user then send a forgot password email with generate jwt token (with username as payload).
  • If its a OAuth user, just show a message to login with google or github.
  • Create a endpoint for forgot password with jwt token as Path variable and fetch the username from token and redirect that to forgot page.
  • On forgot page, ask for new password.
@CryptoSingh1337 CryptoSingh1337 added the enhancement New feature or request label Oct 28, 2023
@CryptoSingh1337 CryptoSingh1337 self-assigned this Oct 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant