-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Thank you very much for this project,Im fresh on nodejs #2
Comments
I am also confused on this part as he hasn't sent the jwt token back to the client. |
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 {} so there is no token for me to get. For some reason |
Okay so I understand the whole concept now but heres to problem. |
And you are setting a |
But POST /auth/signin doesn't send any jwt token it only sets to req.session.token |
could you please tell me what else do I need to edit in the project,in my develope env signin api return info json ,but does not return a token, much appreciated!
The text was updated successfully, but these errors were encountered: