Hello list and happy new year!
I'm implementing a custom
org.keycloak.models.UserFederationProviderFactory which should
be configurable via the keycloak admin console.
The possible configuration are currently specified via the
"Set<String> getConfigurationOptions()"
method of the UserFederationProviderFactory interface,
Since the "Set<String" only describes the raw option
names there seems to be no way to
specify custom labels, help texts, default options, etc.
it would be great if it were possible to configure custom
keycloak federation provider factories like
custom ConfigurableAuthenticatorFactory. For the latter one
can specify a list of configuration options
via the "List<ProviderConfigProperty>
getConfigProperties()" method on the
"org.keycloak.provider.ConfiguredProvider" interface.
"org.keycloak.provider.ProviderConfigProperty" has name,
label, helptext, type and defaultValue which is all I need.
It seems that currently
"org.keycloak.services.resources.admin.UserFederationProvidersResource.getProvider(String)"
isn't aware of the "ConfiguredProvider" interface. I guess
making it aware of ConfiguredProvider with some additional UI
tweaks should do the trick.
What do you guys think?
Cheers,
Thomas