Outternet
Outternet
Could you elaborate on your idea, as I currently agree with the rest of the comments.
Current not unfortunately as you said current driver `jsonwebtoken` hardcoded. However, this functionality is available in rewrite where jose has an abstrate driver and the jwk can be passed directly.
This is a good idea, I have adopted your implemetation in the major rewrite pull request.
This is a good point, either error classes (wich is against the offical passport documentation) or error messages should be put in an enum. Please add a PR (if you...
@VividLemon this is not correct `@nestjs/jwt` does accept the `secret` param, the `passport-jwt` library on the other side does not and this should be replaced with `secretOrKey`.
implemented in rewrite.
thanks for your analysis this has helped me, the simplest migration seems to me a standard algorithm (other than `none`)
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 elaborate why that is, because in its current state it can be used for multiple requests (that is the purpose of passport). Do you mean multiple strategies because then...
This is a good idea, I have adopted your implemetation in the major rewrite pull request.