[keycloak-user] Keycloak Jar plugin issue

Pulkit Srivastava pulkitsrivastavajd at gmail.com
Thu Dec 6 07:40:49 EST 2018


Hey,
We are facing issues with custom jar plugin in keycloak.
We used the following approach:

 <providers>
                <provider>classpath:${jboss.home.dir}/providers/*</provider>
<provider>module:com.identity-bridge.authentication-api
</provider>
<provider>module:com.identity-bridge.login-rest-api</provider>
<provider>module:com.identity-bridge.registration-spi </provider>
</providers>
And placed these jars inside module folder of keycloak.

But when we tried placing the jars inside "providers" folder in keycloak as
mentioned in first line(so that we don't have to make any change in
standalone.xml for jars), keycloak stated giving "NoClassDefFound" error
for some classes. Any idea as to why this happening.?

Thanks,
Pulkit


More information about the keycloak-user mailing list