This tutorial will be split into two parts because its a lengthy, although relatively straightforward, process, so stay tuned for the second part t...
For further actions, you may consider blocking this person and/or reporting abuse
This blog post is excellent and really breaks the process down nicely. Thank you for taking the time to do this!
Well explained, much thanks!
Hi Salarc, this outcome is expected?
I went to pick the token here, after emulating the login behavior
You've lost me from the article when I saw that you're saving the JWT's in the localStorage.
Best way would be to use a http-only cookie to save the JWT on user's end. Please, refrain from those bad practices! :)
agree!
Love It Thanks.
Amazing tutorial
Thanks for the post I thought it was very well articulated and helpful!
Thanks man, Really easy to understand
Really helpful!
where is the .env file?
You create your own .env file. You don't want to share this online because it has your secret environment variables
in "Verify JSON Web Token" part, did you mean env.JWT_SECRET?