Passport Authentication with NodeJS.
This repository has a snippet of authentication using Passport.js
- Install the dependencies with
npm install
. Dependencies to be installed:- express
- ejs
- mongoose
- passport
- cookie-session
- passport
- passport-google-oauth20
- nodemon
- Open the terminal and type
nodemon
.
- The NetNinja(Youtube) - https://www.youtube.com/playlist?list=PL4cUxeGkcC9jdm7QX143aMLAqyM-jTZ2x
- The simplest of description of authenticating your JS App with a third party app.
- Passport.js Documentation - http://www.passportjs.org/docs/