nestjs-cognito-example
nestjs-cognito-example copied to clipboard
Validation via JWT strategy doesn't work.
Hey, the validation via JWT strategy doesn't work
@katesroad did you provide valid values for the keys in .env file?
@katesroad did you provide valid values for the keys in the .env file?
yes. My version works in middleware but doesn't work in guard.
I think it should not work, please check this issue: https://github.com/nestjs/jwt/issues/235
Does work for me 04/02/2020, cfr issue #4
- Nestjs v7.5.1
Does work for me 04/02/2020, cfr issue #4
- Nestjs v7.5.1
Oh, that is nice. Can you share the sample code? My nest.js version is 7.5.1, though
Oh, that is nice. Can you share the sample code? My nest.js version is 7.5.1, though
My code is exactly as this Repo (Master), only removed line 23, in the jwt.strategy.ts
file
We have the same version of nestjs, or was that a typo?
Oh, that is nice. Can you share the sample code? My nest.js version is 7.5.1, though
My code is exactly as this Repo (Master), only removed line 23, in the
jwt.strategy.ts
file We have the same version of nestjs, or was that a typo?
It turns out to be a typo, my version is 7.0.1 actually.