I am working on a Microservices architecture where I am using following components:
- KongHQ as an API gateway
- Keycloak as a IAM solution
- Microservices written in Spring Boot.
My basic requirement is to completely decouple authentication/authorization from Spring boot microservices. Therefore, authentication as well as authorization of API should be done at API gateway layer. Most of the articles and tutorials recomment to integrate Keycloak with Spring Boot as well. I would really like to know if the requirement is feasible and if so how to do it?