Part 6 of a Spring Security OAuth 2 tutorial series introduces a sample microservices project used throughout the series. The project consists of four components: a Keycloak authorization server, a messages-webapp (Spring MVC client using Authorization Code Flow), a messages-service (REST API resource server), and an archival-service (acting as both resource server and client using Client Credentials Flow). The post outlines each service's responsibilities, API endpoints, and role-based access rules, and covers how to export and import Keycloak realm configuration via Docker for reproducible setup.

5m read timeFrom sivalabs.in
Post cover image
Table of contents
Sample Spring Boot Microservices Projectmessages-webapp (Client)messages-service (Resource Server)archival-service (Resource Server and Client)Keycloak SetupConclusion

Sort: