Skip to content

Category «spring-security»

Spring-security JWT with JWK

In this post we will improve the application from the previous post – https://akazakov.dev/?p=39. All code could be found at Github https://github.com/kazakovav/spring-security-jwt/tree/master/generate-jwk.
In modern applications are used microservices architecture. One common approach is when microservices are connected like resource services – they are only validating user permissions. For demonstration token-based security in microservices architectures, we will divide the application into 2 services – authentication service and resource service.