jaredhanson/passport — Issue #8: authenticate middleware with connect only?
Author: irickt
Created: 2012-01-03 03:27:20+00:00
State: open

Connect removed the router middleware [commit](https://github.com/senchalabs/connect/commit/2ca7ec3ff64cb7600bfd029233228236bf048671) and thus the ability to use authenticate as request middleware without using express.

Is there a way call authenticate inside the request handler while keeping the middleware chain intact? Or is there another router with request middleware capability? (I'm currently using [dispatch](https://github.com/caolan/dispatch).)