[keycloak-user] Possible to create a SecurityIdentityProviderFactory with custom provider?

Stian Thorgersen sthorger at redhat.com
Tue Nov 8 02:08:15 EST 2016


No such thing as a SecurityIdentityProvider. You want to create a provider
of SocialIdentityProvider. For example take a look at the Google provider:

https://github.com/keycloak/keycloak/blob/292777259e65a78b1df0bfd8578a2ff8bc22fc21/services/src/main/java/org/keycloak/social/google/GoogleIdentityProvider.java

What social provider are you adding? Maybe you'd like to contribute it to
us if it's a well known one.

On 7 November 2016 at 19:50, Ben Pittman <bepittman at amplify.com> wrote:

> I'm running Keycloak 1.9.8.Final.  I just want to add another social
> provider with some custom logic (boilerplate OpenID won't work in my
> case).  I've registered my module that
> overrides SecurityIdentityProviderFactory and provided my own Provider and
> Factory classes but get a 'resource not found' when I try and access the
> provider from the Keycloak UI.
>
> I've also tried adding my own LoginProtocolFactory module and I see it get
> registered on startup but there is no item for it in the 'add provider'
> identity drop-down.....
>
> Is what I'm trying to do just not possible?  Or is there something obvious
> I'm missing outside of registering modules above to get this to work?
>
> Regards,
> Ben
> _______________________________________________
> keycloak-user mailing list
> keycloak-user at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-user
>


More information about the keycloak-user mailing list