jaredhanson/passport — pull request #278 by ile (2014-08-30 04:15:23+00:00)
Title: use referrer url to redirect when authentication success

How about a this kind of feature?