node-js-express-login-example icon indicating copy to clipboard operation
node-js-express-login-example copied to clipboard

Jwt token not sent back in the response body

Open shrey1605 opened this issue 1 year ago • 0 comments

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.

shrey1605 avatar Feb 22 '24 21:02 shrey1605