# What's the right way to use Keycloak as IDM?

**URL:** <https://forum.flowable.org/t/whats-the-right-way-to-use-keycloak-as-idm/12110>\
**Category:** Flowable Engine\
**Created:** [March 5, 2025, 10:56am UTC](https://forum.flowable.org/t/whats-the-right-way-to-use-keycloak-as-idm/12110 "2025-03-05T10:56:01Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![WestFarmer1](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.flowable.org/westfarmer1/32/3668_2.png) [@WestFarmer1](https://forum.flowable.org/u/WestFarmer1)\
**Post date:** [March 5, 2025, 10:56am UTC](https://forum.flowable.org/t/whats-the-right-way-to-use-keycloak-as-idm/12110/1 "2025-03-05T10:56:01Z")

</div>

Hi, I am new to flwoable.

I am using flowable flowable-spring-boot-starter-rest 7.1.0 with Spring Boot 3.

I want to use existing keycloak as IDM, what’s is the right option?

1. Implementing IDM interface, with keycloak client library.
2. With Spring security, and let spring security handle interaction with keycloak(is this even possible?)

---

<div class="post-metadata">

**Author:** ![Pavelevich](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.flowable.org/pavelevich/32/3654_2.png) [@Pavelevich](https://forum.flowable.org/u/Pavelevich)\
**Post date:** [March 6, 2025, 9:28am UTC](https://forum.flowable.org/t/whats-the-right-way-to-use-keycloak-as-idm/12110/2 "2025-03-06T09:28:41Z")

</div>

the “pure” solution is typically creating a custom IDM implementation that calls Keycloak under the hood
