Using Keycloak for user Management in Flowable


We are already using Keycloak for User and Group management, and would like to integrate this into idm of flowable.I am still a beginner with flowable but I have tried to

  1. Implement a Custom IDMIdentityService and injecting it into the process engine Configuration. However the system does not seem to accept this injection. This is how we defined the injection:
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns=""

    <bean id="identityService" class="com.example.flowable.Service.KeycloakIdentityService">

    <bean id="processEngineConfiguration" class="org.flowable.engine.impl.cfg.StandaloneProcessEngineConfiguration">
        <property name="identityService" ref="identityService" />

There appeared to be no change in the behavior of the idm although some of the functions defined in the implementation should have changed the behavior of creating Users and Groups.
What could be the reason for this?

  1. There are posts advocating the implementation of a custom dentityServiceUserDetailsService.

Which is the correct way to do this and where can I find resources for the implementation of a custom login functionality?

Thanks in advance!!

There is some work around KeyCloak in the following PR: The goal is to look at and continue that work after the 6.5.0 release this month. (but you could get some inspiration from there)