Node Passport Authentication
This repo contains code for Local email-passport authentication and Google Authentication.
Here
Blog (Local Auth) :Here
Blog (Google Auth) :Here
Tutorial (Local Auth) :Here
Tutorial (Google Auth) :1. USAGE
Install All Packages
npm install express ejs mongoose bcryptjs connect-flash cookie-parser express-session csurf memorystore passport passport-local passport-google-oauth20 nodemailer
Install Nodemon For Development
npm install -D nodemon
Add mongoURI ,Google client ID and Secret, smtp config for sending emails
And Feel free to delete the screenshots directory
Added Options
Todo ( ✔ -> Done )
✔ Add User Password rest ✔ Add Verify Account ✔ Add Email Sending Options ✔ Added Flash messages for errors