There was a problem creating my own SPI. #43350
Unanswered
Kuzmichev93
asked this question in
Q&A
Replies: 1 comment 1 reply
-
@Kuzmichev93 can you provide a little more here, such as your provider jar with the actual implementation stripped out to verify what you are seeing? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I encountered an issue when trying to add my own SPI implementation. I created my own interface extending the Provider interface, and similarly created a factory interface extending ProviderFactory. I added entries in org.keycloak.provider.ProviderFactory and org.keycloak.provider.Spi. Then I built a JAR and placed it in the Docker container under /opt/keycloak/providers.
I followed the example from https://www.keycloak.org/docs/26.3.5/server_development/index.html#_extensions
. However, my implementation is not being loaded in Keycloak. Why is this happening?
I want to use my SPI as a single instance across different parts of the registration and authentication code.
Beta Was this translation helpful? Give feedback.
All reactions