Skip to content

Commit

Permalink
Trust the github oauth callback for now
Browse files Browse the repository at this point in the history
  • Loading branch information
tjwelde committed Dec 12, 2017
1 parent 3ba06f5 commit cc9023e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/passport.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ passport.use(new BasicStrategy(function (userid, password, done) {
passport.use(new GitHubStrategy({
clientID: settings.clientID,
clientSecret: settings.clientSecret,
callbackURL: settings.pathPrefix + "/admin/auth/callback",
// callbackURL: settings.pathPrefix + "/admin/auth/callback",
scope: ['repo', 'write:repo_hook']
}, function(accessToken, refreshToken, profile, cb) {
var user = Users.find({ id: profile.id})
Expand Down

0 comments on commit cc9023e

Please sign in to comment.