#I am not sure why to be 401 error in nest.js project.

6 messages · Page 1 of 1 (latest)

fierce finch
#

There is definitely JWT token per each request.

The AUTH backend and the current backend are different.
In other words, DECODE is performed with the same JwtStrategy in the AUTH backend, and ENCODE is performed with the same JwtStrategy in the current backend

#

This is code

#

when decode and encode the jwt, the JWT secret is same

dusty pivot
#

Have you validated the secret is there in the process.env