[keycloak-dev] Register new ProviderFactorys to Mappers

Stian Thorgersen sthorger at redhat.com
Tue Nov 27 12:02:50 EST 2018


I wonder if it would be better to have the identity provider list
compatible mappers itself.

On Tue, 27 Nov 2018, 12:51 Chris Brandhorst <Chris.Brandhorst at topicus.nl
wrote:

> We have developed a customised OIDCIdentityProviderFactory and
> OIDCIdentityProvider because some IdP does not fully adhere to the
> standards. However, when using this Provider, the UserAttributeMapper (and
> other mappers) are not used because they have a fixed list of
> COMPATIBLE_PROVIDERS.
>
> We would suggest adding a registerCompatibleProvider to the
> IdentityProviderMapper in order to extend the usage of these mappers.
>
> Just checking before we take the effort of creating a nice PR: is this
> something you would see fly? If yes, would you suggest changing
> COMPATIBLE_PROVIDERS to a List<String> or a List<IdentityProviderFactory>
> and subsequently changing the getCompatibleProviders() implementations?
>
> Thanks,
> Chris
>
> _______________________________________________
> keycloak-dev mailing list
> keycloak-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-dev
>


More information about the keycloak-dev mailing list