/facebook-and-google-oauth2

Facebook and Google OAuth 2.0 login in Node.js with Express framework and Passport.

Primary LanguageJavaScriptMIT LicenseMIT


Facebook and Google OAuth 2.0 login in Node.JS

Facebook and Google OAuth 2.0 login with Node.js and Passport.

Features

  • Facebook OAuth 2.0 login
  • Google OAuth 2.0 login
  • OAuth 2.0 strategies with Passport

Setup

Step 1

Clone the project repository:

$ git clone github.com/lucianoayres/facebook-and-google-oauth2.git

Step 2

Install project dependencies:

$ npm install

Step 3

Set the enviroment variables in '.env.sample' and rename it to '.env'.

Step 4

Start the server:

$ npm start

License

MIT License