Developing a Secure API with NestJS

Looking forward to the article! Thanks for the responses again.

I should also mention, I tried to console log from within the JwtStrategy.validate method, and nothing was logged. My guess is that even after registering the strategy within the authz module, it’s still not being picked up.

Mentioning in case you might have immediate ideas as to what the issue is.

PS: Also, I know it’s a bit of a stretch ask, but I’m also available for a Zoom call, if you’re up for live debugging :slight_smile:

EDIT: Cloned your repo, fixed in the env variables, and I still get the 401 response.

1 Like