The next strategy is the Passport's Google Strategy. Let's start with the installation of this strategy.
Passport's Google strategy
Installing Passport's Google strategy
Run the following command to install Passport's Google strategy:
$ npm install passport-google-oauth20 --save
The preceding command should add the package to your package.json file:
...
"node-sass": "^4.7.2",
"nodemon": "^1.14.10",
"passport": "^0.4.0",
"passport-google-oauth20": "^1.0.0",
...