Keycloak 17.0.0 User Storage Provider

507 views
Skip to first unread message

Sébastien Claudel

unread,
Feb 25, 2022, 9:54:09 AM2/25/22
to Keycloak User
Hi,

I'm looking for an example of a JPA User Storage Provider that works with keycloak 17.0.0 (quarkus) and with an external database (a different database than keycloak). 

I'm looking for the same functionality as this example: https://github.com/keycloak/keycloak-quickstarts/tree/latest/user-storage-jpa

This one doesn't work for me :(

Thanks for help

Sébastien 

Christoph Erni

unread,
Feb 25, 2022, 10:18:33 AM2/25/22
to Keycloak User
I am struggling with the same right now. i posted a question on Stackoverflow: https://stackoverflow.com/questions/71267230/register-additional-persistence-unit-in-keycloak-quarkus

pigor.c...@gmail.com

unread,
Mar 7, 2022, 6:54:53 AM3/7/22
to Keycloak User
Hi,

There is an open PR [1] to introduce support for additional datasources/PUs.

The same goes for the necessary changes to the corresponding quickstart [2] to make it work with the new distribution.

Would you be able to give it a chance and see if those changes are enough to port existing providers to the new distribution?

Sébastien Claudel

unread,
Mar 8, 2022, 5:21:18 AM3/8/22
to Keycloak User
It works ! nice work ! Thanks ! 
Reply all
Reply to author
Forward
0 new messages