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

Add OTP-Based Login Functionality #1

Open
aashish-dhiman opened this issue May 14, 2024 · 2 comments
Open

Add OTP-Based Login Functionality #1

aashish-dhiman opened this issue May 14, 2024 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@aashish-dhiman
Copy link
Owner

Description:
We need to enhance the security and user experience of our Flipkart Clone project by implementing an OTP (One-Time Password) based login functionality. This will involve sending an OTP to the user's registered mobile number or email address during the login process and verifying the OTP before granting access.

Tasks:

  1. Backend Implementation:

    • Set up an endpoint to request an OTP.
    • Integrate an OTP service (e.g., Nodemailer) to send OTPs to users.
    • Store the OTP temporarily in the database with an expiration time.
    • Create an endpoint to verify the OTP and complete the login process.
  2. Frontend Implementation:

    • Update the login UI to include an OTP input field.
    • Create a form to request an OTP.
    • Handle responses from the OTP request and verification endpoints.
    • Provide appropriate feedback to the user during the OTP process.
@aashish-dhiman aashish-dhiman added the enhancement New feature or request label May 14, 2024
@shivamnit123
Copy link

Can I work on it ?

@aashish-dhiman
Copy link
Owner Author

Sure. Please make sure to use Tailwind CSS for styling purpose.
Assigning this issue to you.

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

2 participants