-
Notifications
You must be signed in to change notification settings - Fork 122
Open
Description
Google Depricated legacy People's API for new projects.
I had a problem that the google-plus-token-strategy is using old people's API which was made unavailable for new projects on March 7, 2019. So when you will add you clientID and client secret in the code and run it. So if you try to login it will give error.
Solution
Install the passport-token-google
and replace the require statement of GooglePlusTokenStrategy with:
const GoogleStrategy = require("passport-token-google").Strategy;
After this replace GooglePlusTokenStrategy with GoogleStrategy.
Now everything will work fine.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels