Timo Mätäsaho

Results 4 comments of Timo Mätäsaho

I am having similar issue. If having a custom auth middleware injecting to `res.locals` the `validateRequest` somehow loses all the types from `req` and `res`. However, if the auth middleware...

My original auth middleware was roughly like this ```typescript const authMW = async (req: express.Request, res: express:Response, next: NextFunction) => { try { // Do things const authInfo = await...

Last week ts-node was working without any issues. Now it's giving me headache. Is there an issue with the latest ts-node and typescript or some incompatibility issue with node and...

I faced the very same problem some time ago. This package seemed to be very silent, so I created my own passport-jwt strategy. Try this one https://www.npmjs.com/package/passport-fast-jwt