Custom Storage SPI with Hibernate

Hello everyone. I have been tasked to implement Keycloak with custom Storage SPI. Thanks to this beautiful video KEYCLOAK Implementing Custom User Storage Provider (in-depth) | Niko Köbler (@dasniko), I was able to implement and get it to work without any issue.

But the problem is, I need to implement a database connection using Hibernate (or Spring Data) and I tried many times with different configurations, but can’t get it to work.
I even tried Multiple persistence units (Quarkus) and EJB Persistence to get it to work, but it won’t work.

Has anyone tried and made it work? If so, I really appreciate it if you could help me.
By the way: I am using Keycloak 19.0.1

1 Like
1 Like

Thanks for the response. It worked without any problem :slightly_smiling_face:

1 Like