Giter VIP home page Giter VIP logo

node-auth's Introduction

GitHub Readme Stats

Authenticating users with Passport

Authentication using passport with Node.js to Google+ APIs, Facebook, Twitter.

GitHub issues GitHub pull requests GitHub Release Date GitHub repo size

Français · 简体中文 · Español · Deutsch · 日本語 · Português Brasileiro · Italiano · 한국어

Authenticating users with Passport

Passport is authentication middleware for Node. It is designed to serve a singular purpose: authenticate requests. When writing modules, encapsulation is a virtue, so Passport delegates all other functionality to the application. This separation of concerns keeps code clean and maintainable, and makes Passport extremely easy to integrate into an application.

In modern web applications, authentication can take a variety of forms.

Authentication to Google+ APIs, Facebook, Twitter and more.

Clone the project repository by running the command below if you use SSH

git clone [email protected]:ahsouza/node-auth.git

If you use https, use this instead

git clone https://github.com/ahsouza/node-auth.git

Configures the ID_CLIENT and KEY_SECRET of the user account in config/auth

'clientID' : 'your-secret-clientID-here', // seu App ID

'clientSecret' : 'your-client-secret-here', // seu App Secret

Determines the location of the database in the config / database.js file

'url' : 'your_database_here' // mongodb://<user>:<pass>@mongo.onmodulus.net:27017/yourdatabase

Run the command below to install NPM dependencies

npm install

And

npm start

to start the app and visit http://127.0.0.1:8080/ to see the app in action.

node-auth's People

Contributors

ahsouza avatar

Stargazers

 avatar  avatar

Watchers

 avatar

node-auth's Issues

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.