diff --git a/server/controllers/authorize.js b/server/controllers/authorize.js index 003086a..87df5e0 100644 --- a/server/controllers/authorize.js +++ b/server/controllers/authorize.js @@ -34,6 +34,7 @@ const github = new oauth.OAuth2( 'login/oauth/authorize', 'login/oauth/access_token' ) +github.useAuthorizationHeaderforGET(true) function validateProvider(req, res, next) { const { provider } = req.params