Authentication using NodeJS, PassportJS and Mongo DB
Authentication using Passport to authenticate users locally, with Facebook, Twitter, Github, Linkedin and Google. I've fork this tutorial from Scotch.io and extend this to have Github and Linkedin passport strategy. Also make it compatible for OpenShift Redhat Nodejs deployment.
Express Version
Use ExpressJS 4.0
Instructions
- Clone the repo:
git clone repo
- Install packages:
npm install
- Launch:
node server.js
- Visit in your browser at:
http://localhost:8080
OpenShit RedHat Deployment
- Update config/auth.js with App client Id and Secrets
- Nodejs getting started guide OpenShift RedHat