Coder Social home page Coder Social logo

ratnani1996 / o-auth-authentication Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 0.0 35 KB

This is an example code for authentication with local, Google and Facebook. Sit back and copy the code. :blush:

JavaScript 68.62% HTML 31.38%
nodejs mongodb passportjs google-oauth2 passport passport-facebook

o-auth-authentication's Introduction

o-auth-authentication

handles local, google and facebook authentication

This example shows local, google as well as facebook authentication. Want to make your application more secure and with easy logins and sign ups. Sit back and copy the code, let google and facebook handle authentication also know as o-authentication.

Install

With yarn installed, run

$ yarn install

Make sure to create a variables.env file in the root directory with contents as follows :

PORT = 
SESSION_SECRET = 
MONGO_URL = 
FACEBOOK_APP_ID = 
FACEBOOK_APP_SECRET = 
GOOGLE_CLIENT_ID = 
GOOGLE_CLIENT_SECRET = 

Usage

$ yarn start

This will start the application at port 3000

See Also

License

MIT

o-auth-authentication's People

Contributors

ratnani1996 avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.