Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/shreyxnsh/passport-auth


https://github.com/shreyxnsh/passport-auth

Last synced: 11 days ago
JSON representation

Awesome Lists containing this project

README

        

=> Run below command to run the app:
node index.js

=> Using Passport.js library of NodeJS, app includes sign-up with google, facebook and Github functionality,

=> The controller file 'google-auth.js' contains all the code for authentication with google feature.

Steps for OAuth:
1. First I need to create a app that will give me client ID, secret key and redirect URI from developer console(Google/facebook/github).
2. Install and import required packages.
3. Pass these three parameters to Google Strategy.
4. Implement the code.