lucianoayres / facebook-and-google-oauth2

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool


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

About

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

License:MIT License


Languages

Language:JavaScript 85.0%Language:EJS 7.5%Language:Shell 7.5%