jaredhanson/passport — Issue #1: cannot access req or res objects from authenticate callback
Author: Aomitayo
Created: 2011-12-09 16:00:12+00:00
State: open

From looking through the code, the failureRedirect option appears to be the only way to respond to a failed authentication.
the callback function does not have access to req, and res objects.
Isn't there some way to make it possible to respond to a handle/respond to authentication failure from within the callback function?