Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Authentication middleware for connect.
Branch: master
Pull request Compare This branch is 1 commit ahead, 210 commits behind ciaranj:master.
Failed to load latest commit information.
examples OutOfBand Now works too.
lib use the real oauth2 lib
support Ok, looks like we're a-moving to expresso
test Ok, looks like we're a-moving to expresso
Makefile Forgot the makefile ;) Bumping version number to 0.1.2 (Added OAuth Provider strategy)


Useful authentication strategies based on warden. Available as a npm package.

Provides out of the box authentication strategies for:

  • HTTP Basic - sole or negotiated
  • HTTP Digest - sole or negotiated
  • Anonymous
  • Never
  • Facebook connect (OAuth 2)
  • Github (OAuth 2)
  • Yahoo (OAuth 1.0A)
  • Twitter (OAuth 1.0)
  • RPXNow / janrain SSO
  • Foursquare (thanks to
  • Custom OAuth Provider Strategy (Be your own 1.0A OAuth provider!) (A Port of Christian Amor Kvalheim's express-oauth-plugin)

Please note this has only just been ported over from express, and whilst it does in fact now work again, I've not yet fully ported the tests or example applications so your mileage may vary :)

Take Care!



% make

Running with npm

% npm install connect-auth
% node examples/connect-testing.js

Edit /etc/hosts to include the following entry

% grep twit /etc/hosts

For basic auth

% open http://localhost:3000

For twitter auth

% open http://localhost:3000/twitter


  • 0.1.2 - Added in new strategy that allows your authentication strategy to be a custom OAuth provider.
  • 0.1.0 - New simplified configuration (connect idiomatic) of strategies implemented.
Something went wrong with that request. Please try again.