In my previous post, I introduced the API Gateway Pattern in Microservices. Let’s take a look at the components in our system, as demonstrated below. We have API Gateway which proxies our requests to the authorization server and two services in our services. The API gateway has to proxy requests…
Category: Microservices
A brief overview of API Gateway Pattern in Microservices
In my previous post, I introduced the process of building an authorization server, which serves as my starting point for delving into the world of microservices. In this post, I will go into the theory of the API gateway pattern. The implementation details for each function of it will be…
Implement OAuth using Spring Authorization Server – P2
In the previous post, I introduced two OAuth2.1 grants: client credentials and authorization code. In this part, I will walk you through the implementation of each grant using the Spring Authorization framework. Starting from Spring Security 5, the Spring team no longer supports building an authorization server from spring-security-starter but…
Implement OAuth using Spring Authorization Server – P1- A brief overview of OAuth2 and JWT
Last week, I set out to create an application based on microservices architecture, primarily for learning purposes. My initial focus was to secure the application, which led me to learn how to build a Spring authorization server from scratch. While I had previously implemented resource servers, building an authorization server…