diff --git a/routes/auth.js b/routes/auth.js index c21ada08..e0d6a886 100644 --- a/routes/auth.js +++ b/routes/auth.js @@ -75,7 +75,10 @@ if (auth.github.enabled) { passport.use(new passportGithub({ // eslint-disable-line new-cap clientID: auth.github.clientId, clientSecret: auth.github.clientSecret, - callbackURL: redirectURL + callbackURL: redirectURL, + authorizationURL: auth.github.authorizationURL, + tokenURL: auth.github.tokenURL, + userProfileURL: auth.github.userProfileURL }, function (accessToken, refreshToken, profile, done) { usedAuthentication('github')