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

Adding LogIn via OTP #151

Closed
Abhigaba opened this issue Oct 12, 2024 · 8 comments
Closed

Adding LogIn via OTP #151

Abhigaba opened this issue Oct 12, 2024 · 8 comments

Comments

@Abhigaba
Copy link
Contributor

To enhance the user login experience, I can create a login using otp system making the website more intuitive.

@AdibaNaushad
Copy link

and i can do documentation work

@soham0005
Copy link
Owner

@Abhigaba just elaborate more on how you are goinh to implement and which libraries/ packages you are going to use

@Abhigaba
Copy link
Contributor Author

There are two ways :

  1. Via SMS, it can implemented by using firebase or a third party service like twilio. (Firebase will be free but not twillio)
  2. Via Email, using nodemailer library in the backend to send the email and verifying the otp.

@soham0005 , depending on the requirements it can be imlpemented in both ways.

@soham0005
Copy link
Owner

@Abhigaba you can start working on it, you can use any of the method which is free of cost

@soham0005
Copy link
Owner

@AdibaNaushad, raise another issue for the documentation you mentioned, i'll assign it to you

@soham0005
Copy link
Owner

@Abhigaba any updates?

@Abhigaba
Copy link
Contributor Author

Abhigaba commented Oct 16, 2024

@soham0005 , yes I have created the backend part and will be opening the pr for it in a minute. It is successfully running and tested on postman.

Before merging add these things in the .env file

  1. OAUTH_CLIENTID,
  2. OAUTH_CLIENT_SECRET,
  3. OAUTH_REFRESH_TOKEN

you can get these if you follow this "https://www.freecodecamp.org/news/use-nodemailer-to-send-emails-from-your-node-js-server/"

@Abhigaba
Copy link
Contributor Author

Will do the frontend part tomorrow.

PRathod27 added a commit that referenced this issue Oct 27, 2024
Adding LogIn via OTP #151 (Backend Schema and routes)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants