Skip to content

Passwordless (OTP - One Time Password) authentication with Email, SMS and Github-OAuth using Twilio & Nodemailer

Notifications You must be signed in to change notification settings

pineapple45/passwordless-auth-email-sms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Passwordless Authentication w/ Email, SMS & Github-OAuth


👉 There are multiple branches on the repo. Please note that main branch consists of final code.

This Code Repository is a complete project to show how passwordless (OTP - One Time Password ) authentication can be setup with Email, SMS and Github-OAuth.These playlist videos are a consequense of a project I was working on about 2 months back. I found this project extremely helpful to improve my own knowledge of complex topics in web development such as Authentication and more specifically combining different authentication methods such as passwordless and OAuth.

Tech stack


  • NextJS - For client-UI
  • NodeJS - For server side code
  • Nodemailer - For sending Email and OTP along with it
  • Twilio - For Sending SMS and OTP along with it
  • Github-OAuth - For OAuth2
  • MongoDB - Our database to store users and site data
  • Graphql - Our API layer
  • Tailwind-CSS - For styling purposes
  • PassportJS - For utility functions required for authentication on the server-side in both passwordless as well as Github-OAuth
  • graphql-passport - For making passportJS work with graphql since typically passportJS works well with REST API approach.
  • Apollo - For implementing graphql

Complete Playlist for refrence - Link


"Buy Me A Coffee"

About

Passwordless (OTP - One Time Password) authentication with Email, SMS and Github-OAuth using Twilio & Nodemailer

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published