Tag: spring security

How to Implement JWT Token Based Authentication in Spring Boot Microservices

Java, Spring Boot, Tools
JWT (JSON Web Token) tokens are an open, industry standard RFC 7519 method for representing claims securely between two parties. It is highly recommended and used authentication method for REST API & Webservices. Today we are going to see how to implement JWT token based authentication in spring boot microservices to securely communicate and transfer the data's between the client(any client applications, angular/react/vue in modern application world) and server side applications. Though process for Token Based Authentication Spring security is needed for JWT token based authentication Ensure the signup / login REST API accesses are allowed in spring security (or disable these two API's) During signup, save the captured user details in the user table then generate and res