Teaching Newbies since 2014

  • Home
  • Javascript ❤
    • JavaScript
    • Node.js
  • WebDev Tuts
  • screencasts
  • Resources
  • VR & AR
  • Github
  • Twitter
  • YouTube
  • RSS
  • C++
You are here: Home / Javascript ❤ / JavaScript / Plug and Play Authentication for express.js

June 26, 2019 by: Kauress

Plug and Play Authentication for express.js

 

producthunt1What started out as a small module has become a month long project. Some days I sleep well, other days I keep a notebook besides me to jot down ideas. I’ll be putting this project up on Product Hunt and Gumtree as a stand alone module for other  developers to use.

screenshot-trello.com-2019.06.25-20-43-56

Version 1.0 has the following features:

  1. User can make an account using their email address
  2. User has to verify their account through activation URL
  3. User can now access their dashboard
  4. User can login with the correct credentials
  5. User can request a password reset upon correctly answering their secret question
  6. Google recaptcha v.3 (invisible)

Some security precautions taken are:

  1.  Password requirements: 1 uppercase, 1 number and 1 symbol required in the password which should be at least a minimum of 8 characters long
  2. Secret question and answers
  3. Activation of account through verification link with a expiry set to 24 hours
  4.  Spam control through invisible honey pot form field

 

Pretty basic but plug n play it’s most basic form. I’ve tried to make it very beginner friendly by being Verbose and Redundant!

Version 1.1 will have the following additions:

  1. Registration  verified through Google Authentication
  2. Option to complete registration through OTP via SMS
  3. Password reset through Google Authentication
  4. Password reset through OTP

 

I might get distracted by another project I’ve wanted to do which is Register + Signup through facial verification

 

 

producthunt1

JWT: What are JSON Web Tokens & use cases
Simply Auth now on heroku!

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Copyright © 2022 ·Kauress

Go to mobile version