node-js-express-login-example
node-js-express-login-example copied to clipboard
Jwt token not sent back in the response body
Hi, I just followed the steps you posted on
https://www.bezkoder.com/node-js-express-login-example/#Configure
but it looks like you didn't send the jwt token back in the response body. You've used the session id to manage the auth functions but as per your flowchart you're supposed to send back the jwt to the client. The client is then supposed to store jwt and then if it is making any subsequent request, jwt token will be in the request body. Can you please take a look at this once? Thank you.