Connect Keycloak to backend auth service

I want to use Keycloak to enable third-party solutions to access our user database. Due to the privacy issue, we cannot connect directly to our database and we want to use the API service instead.

Is it possible for Keycloak to use the internally developed auth service (REST API) to authenticate the user?


Hello, tumenzul
We have identical setup. We have third party REST API auth system and we need to auth in it by keycloak.
User auth in keycloak -> keycloak auth in REST API auth system.
It is possible by implementing new SPI’s and change browser and direct flow if you need.
But we think Keycloak was not conceived for that :laughing:

1 Like