First of all, I thank you for this tutorial.. very useful..
I have a couple of questions (I'm new to JWT).
Let's say that I have a login page.
From this page I get the token.
I wonder to know how to pass it to the next controller (I use a redirect action when the credentials are correct) and globally how to add the famous header (Authorization:Bearer myToken) to all the controllers I use
My second question is how to manage the token refresh?
Thanks once again
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.