Everyauth

screenshot of Everyauth
express

node.js auth package (password, facebook, & more) for Connect and Express apps

Overview

everyauth is a node.js library that provides authentication and authorization functionalities for Connect and Express apps. It supports various login methods such as password, Facebook, and more. The library is modular, easily configurable, and follows an idiomatic approach for extending authorization strategies.

Features

  • Modular - Supports Facebook, Twitter, basic login/password, and upcoming modules for beta invitation and more.
  • Easily Configurable - Allows powerful configuration of authorization strategies with granular control over steps and logic.
  • Idiomatic - Provides syntax for configuring and extending authorization strategies in an idiomatic and chainable manner.

Example Application

An example application is provided at ./example.

  • Setting up a localhost alias called local.host in the /etc/hosts file is necessary.
  • Update test/creds.js with credentials for integration tests.

Accessing the User

  • Access the user as req.user from the app server or everyauth.user in Express views.
express
Express

Express.js is a simple Node.js framework for single, multi-page, and hybrid web applications.