Passionate Engineer
Passionate Engineer

Reputation: 10412

Keycloak user federator

I'm trying to put my new custom Federator in Keycloak so I've compiled my jar filed created using mvn clean install into standalone/configuration/providers following this guide.

I then restarted the Wildfly 8 server but it doesn't seem to register my customer Federation provider.

Is there a reason why this isn't working?

Upvotes: 1

Views: 1399

Answers (1)

Stefaan Van Mieghem
Stefaan Van Mieghem

Reputation: 11

Add a file

META-INF/services/org.keycloak.models.UserFederationProviderFactory

containing the full classname of your custom provider factory. For example be.abc.def.MyCustomProviderFactory

Restart Wildfly and the provider factory (not the provider itself) should be listed in the Users > Federation > Add provider dropdown by its id.

Upvotes: 1

Related Questions