notbeer
notbeer
Im confused too can someone help me? In client where do I put the jwt token in axios request to my server?
Its confusing because in the post/signin. Its not sending no token back to the user but instead its sets the token to "req.session.token". But at middleware verifyToken req.session is empty...
Okay so I understand the whole concept now but heres to problem. GET /user/* all of the endpoints work on postman when i request the api there but on my...
But POST /auth/signin doesn't send any jwt token it only sets to req.session.token