passport-oauth2
passport-oauth2 copied to clipboard
Prevent Null Point Error on null req.connection
req.connection, an alias of req.socket can be null, causing a null pointer exception when reconstructing a request URL.
See https://github.com/jaredhanson/passport-oauth2/issues/183