keycloak / keycloak-quickstarts

Apache License 2.0
1.98k stars 984 forks source link

Keycloak 24.0.1 User Storage SPI is not working #544

Closed YashKakrechaInexture closed 7 months ago

YashKakrechaInexture commented 7 months ago

Describe the bug

I want to create custom User federation, for that I have used similar approach of creating SPI (https://github.com/keycloak/keycloak-quickstarts/tree/latest/extension/user-storage-jpa) but using MYSQL. And adding the jar file into the "provider" folder in the server. But by doing so it is giving me error :

` Caused by: io.quarkus.runtime.configuration.ConfigurationException: Unable to properly register the hierarchy of the following JPA classes as they are not in the Jandex index:

Tech Stack :

Java - 17 Keycloak - 24.0.1 Mysql - 8

Version

24.0.1

Expected behavior

No response

Actual behavior

No response

How to Reproduce?

No response

Anything else?

No response