Skip to content

ndxbxrme/ndx-passport-github

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ndx-passport-github

github login for ndx-framework apps

install with
npm install --save ndx-passport-github

example

src/server/app.coffee

require 'ndx-server'
.config
  database: 'db'
.use ndx-passport
.use ndx-passport-github
.start()

src/client/../login.jade

a(href='/api/github', target='_self') Github

environment/config variables

environment config description
GITHUB_KEY githubKey your github key
GITHUB_SECRET githubSecret your github secret
GITHUB_CALLBACK githubCallback set this to http(s)://yourservername.com/api/github/callback
GITHUB_SCOPE githubScope a list of scopes you want access to

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published