We need to install Passport, and the three strategies we will use: local, Facebook, and Google. We are extending our application that we created in Chapter 1, Backend Development with Express; so, these are in addition to all the packages we already have installed. The following list details out the versions for each package. We will only be working in our main application, so add them to our current list of packages in package.json
and run npm install
:
passport: 0.2.0
passport-local: 1.0.0
passport-facebook: 1.0.3
passport-google-oauth: 0.1.5
scmp: 0.0.3