Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Conversation

@bcalmac
Copy link

@bcalmac bcalmac commented Mar 28, 2020

The diff corresponds to the instructions from https://www.udemy.com/course/node-with-react-fullstack-web-development/learn/lecture/13890898#questions:

npm install passport-google-oauth20@2 --save

As it is now, if a new student tries to run the app, Google auth fails with:

GooglePlusAPIError: Legacy People API has not been used in project ************ before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/legacypeople.googleapis.com/overview?project=************ then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry.
    at /Users/bcalmac/code-study/fullstack-stephen-grider/server/node_modules/passport-google-oauth20/lib/strategy.js:95:21
    at passBackControl (/Users/bcalmac/code-study/fullstack-stephen-grider/server/node_modules/oauth/lib/oauth2.js:132:9)
    at IncomingMessage.<anonymous> (/Users/bcalmac/code-study/fullstack-stephen-grider/server/node_modules/oauth/lib/oauth2.js:157:7)
    at IncomingMessage.emit (events.js:323:22)
    at endReadableNT (_stream_readable.js:1204:12)
    at processTicksAndRejections (internal/process/task_queues.js:84:21)```

@bcalmac bcalmac changed the title Update passport-google-oauth20 for compatibility with the Googlle People API Update passport-google-oauth20 for compatibility with the Google People API Mar 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.