JWT Token Header

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

JWT Token Header

aventureirojava

Good morning , I'm studying to adapt a project of mine to use jwt with the spring boot, I realized that when using jwt it should add in the request header the token generated by the application in the login, in my case I store the token in the localstorage, my doubt is how I will add the token in the header when sending a form of thymeleaf using a button type submit. Is there some sort of interceptor of requests for this?