jaredhanson / passport-oauth2

OAuth 2.0 authentication strategy for Passport and Node.js.
https://www.passportjs.org/packages/passport-oauth2/?utm_source=github&utm_medium=referral&utm_campaign=passport-oauth2&utm_content=about
MIT License
607 stars 343 forks source link

Prevent Null Point Error on null req.connection #184

Closed mserranom closed 4 days ago

mserranom commented 10 months ago

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

mserranom commented 4 days ago

Looks like this is not going to be picked, closing