diff --git a/controllers/auth.js b/controllers/auth.js index 2529118c9..4805ab98a 100644 --- a/controllers/auth.js +++ b/controllers/auth.js @@ -86,7 +86,7 @@ exports.auth = function (aReq, aRes, aNext) { } if (strategy === 'google') { - authOpts.scope = ['https://www.googleapis.com/auth/plus.login']; + authOpts.scope = ['profile']; } authenticate = passport.authenticate(strategy, authOpts); diff --git a/controllers/strategies.json b/controllers/strategies.json index 7ec165d17..a5fccbbf1 100644 --- a/controllers/strategies.json +++ b/controllers/strategies.json @@ -17,7 +17,7 @@ "google": { "name": "Google", "oauth": true, - "readonly": false + "readonly": true }, "imgur": { "name": "Imgur",