Skip to content

OAuth-app is an application which allow users to sign in to the application with users existing third party account like google, meta, and github. I have add the google and facebook OAuth2.0 integration using passport middleware.

Notifications You must be signed in to change notification settings

chirag4242/OAuth-App

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OAuth Integration with Google and Facebook

This application includes authentication with OAuth using Passport middleware.

Setup Application

Firstly, install node module with following command

npm install

Create .env file and setup mongoDB with credentials.

Then follow link to genrate credentials of google OAuth2https://support.google.com/cloud/answer/6158849?hl=en and for Facebook go to Meta for developer site for credentials.

Setup the .env file with those credentials for both google and Facebook OAuth 2.0

Run Application

Run mongoDB server:

mongod

then run app.js file to start the application

node app.js 

Require Steps

  • Find documentation for OAuth2.0 form google and meta developer sites
  • Learn passport midleware to setup OAuth Passport

Tech Stack

NodeJs css JavaScript

Author and Social

chirag42 @chirag4242 Portfolio Projects

About

OAuth-app is an application which allow users to sign in to the application with users existing third party account like google, meta, and github. I have add the google and facebook OAuth2.0 integration using passport middleware.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published