Skip to content

Nodejs application implementing passport for github oauth authentication with session store

Notifications You must be signed in to change notification settings

mockingloris/node-express-4-passport-github

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node-express-4-passport-github

This project is a simple solution to use Express 4.x and Passport to authenticate users using github.

Make sure to configure the mongodb uri on gh-auth.js

First things

Running The APP

$ git clone git@github.com:mockingloris/node-express-4-passport-github.git
$ cd node-express-4-passport-github
$ npm install
$ npm start

Your app should now be running on localhost:5054.

I will try to update this readme... hope you have an idea how it works when you see the code. Especially my use of the handlebars templating engine.

Also note that the node engine I used for this project is Node 6, you will see the version on the package.json file.

For now you can only get the user email and name. I'm working on getting the user's repos as well.

About

Nodejs application implementing passport for github oauth authentication with session store

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published