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

Ben Pittman bepittman at amplify.com
Tue Nov 8 11:05:46 EST 2016


Thanks for the reply Stian,

I work in the education industry and I'm creating a SocialIdentityProvider
to integrate with a company called Clever.  They're big in education but
little known outside it.  I'm more than happy to contribute it if you think
it would add value.

On Tue, Nov 8, 2016 at 2:08 AM, Stian Thorgersen <sthorger at redhat.com>
wrote:

> 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/292777259e65a78b1df0bfd8578a2f
> f8bc22fc21/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