Open
Description
Maybe I understand wrongly the utility of the accessToken (first argument returned by the callback when creating the strategy) because when I am trying to sign in it does not work correctly:
var github = require('octonode');
passport.use(new Strategy({
clientID: clientID,
clientSecret: clientSecret,
callbackURL: callbackURL
},
function(accessToken, refreshToken, profile, done) {
var client = github.client(accessToken);
// Client is not signed in...
}
Metadata
Metadata
Assignees
Labels
No labels