-
-
Notifications
You must be signed in to change notification settings - Fork 327
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error without any desctiption #122
Comments
I also had this problem and the solution was to enable the Google+ API in the Google Developers Console |
I am getting the same thing and also on passport-google-oauth2 jaredhanson/passport-google-oauth2#24 The Error shows up as |
It looks like the behaviour of the Google API has changed maybe due to authentification security changes . |
I'm using "passport": "^0.4.0",
"passport-google-oauth20": "^1.0.0" I followed @LuukMoret's suggestion but still wasn't able to make it work. So, in addition to adding the Google + API in the developer console, I added the following scope to the passport.authenticate scope array:
Like this: router.get('/google',
passport.authenticate('google', { scope: [
'https://www.googleapis.com/auth/calendar',
'https://www.googleapis.com/auth/plus.login'
]})); And then it worked! =D |
I get bellow error after redirect to my callback URL
The text was updated successfully, but these errors were encountered: