Skip to content

Latest commit

 

History

History
29 lines (20 loc) · 1.58 KB

readme.md

File metadata and controls

29 lines (20 loc) · 1.58 KB

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"