Open HugoTrick opened 2 years ago
the library expects an http req object. the rewrite avoids these depencies by adding more validation. Again this could have been implemented with a custom extractor instead of a patch, please consult the documentation on how to do this.
Hi! 👋
Firstly, thanks for your work on this project! 🙂
Today I used patch-package to patch
passport-jwt@4.0.0
for the project I'm working on.Passport-jwt extractor fromUrlQueryParameter don't handle handshake requests (websocket). Here how i fixed it !
Here is the diff that solved my problem:
This issue body was partially generated by patch-package.