The beginnings of an authentication framework for expressjs.com Largely a port (at least in terms of intent) of http://github.com/hassox/warden
JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
examples Bumped version to provide github example Jun 1, 2010
lib/express/plugins
spec
Makefile
README.md
seed.yml

README.md

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)
  • Foursquare (thanks to http://github.com/stunti)
  • 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