JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 788
  • Score
    100M100P100Q95195F

Middleware for Connect (node.js) for handling your authentication needs.

Package Exports

  • connect-auth

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (connect-auth) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

express-auth

Useful authentication strategies based on warden. Available as a kiwi package. Provides out of the box authentication stratgies for:

  • HTTP Basic
  • HTTP Digest
  • Facebook connect (OAuth 2)
  • Github (OAuth 2)
  • Yahoo (OAuth 1.0A)
  • Twitter (OAuth 1.0)
  • Anonymous
  • Never

Testing

% make

Running with kiwi

% brew install kiwi
% kiwi install express-auth
% node examples/app.js

Edit /etc/hosts to include the following entry

% grep twit /etc/hosts
127.0.0.1    testtwitter.com

For basic auth

% open http://localhost:3000

For twitter auth

% open http://localhost:3000/twitter