I have a few microservices that validate and identify the user using Keycloak as below
I now want to place the Apache APISIX API Gateway before the microservices.
Apache APISIX has a plugin for Keycloak. Can the plugin do the following such that the validation is removed from all the microservices?
- Validate the
access_token
from the user - If valid, forward the request to the microservice
Note
This article gives details on how to integrate the Keycloak plugin such that the user will have to authenticate using Keycloak (using a single Keycloak client_id
and client_secret
). In my case, however, each user will have a different client_id
and client_secret
.