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

Forgot Password Flow #47

Open
ArslanKamchybekov opened this issue Oct 27, 2024 · 0 comments
Open

Forgot Password Flow #47

ArslanKamchybekov opened this issue Oct 27, 2024 · 0 comments
Assignees

Comments

@ArslanKamchybekov
Copy link
Collaborator

ArslanKamchybekov commented Oct 27, 2024

Task: Implement "Forgot Password" Flow on the Sign-In Page

Objective:

Add a "Forgot Password?" button on the sign-in page, implement redirection to the forgot password page, call the forgot password endpoint, and prompt the user to check their email.


Steps:

  1. Add "Forgot Password?" Button on Sign-In Page
    • On the SignIn page, add a "Forgot Password?" button below the sign-in form.
  2. Redirect to the Forgot Password Page
    • When the "Forgot Password?" button is clicked, redirect the user to a new ForgotPassword page.
  3. Forgot Password Page
    • Include instructions to inform the user to enter their registered email to reset their password.
  4. Call the Forgot Password Endpoint
    • When the form is submitted, capture the email input and call the backend API endpoint for "forgot password" using fetch or Axios.
    • Handle any errors (e.g., invalid email) and show relevant error messages.
  5. Prompt User to Check Their Email
    • If the API request is successful, display a message to the user prompting them to check their email for further instructions on resetting their password.

BONUS: Implement Reset Password logic.

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

No branches or pull requests

3 participants