passport-oauth2 icon indicating copy to clipboard operation
passport-oauth2 copied to clipboard

req.connection can be null

Open mserranom opened this issue 1 year ago • 0 comments

req.connection (deprecated alias of req.socket, see https://github.com/jaredhanson/passport-oauth2/issues/178) can be null, causing a null pointer exception when reconstructing a request URL.

See upstream discussion in https://github.com/nodejs/undici/issues/1115 and https://github.com/nodejs/node/issues/41011.

mserranom avatar Jan 22 '24 13:01 mserranom