Hello,
My usecase was with JWE tokens and hence I started with implementing
custom external IDP extension like oidc in keycloak. I started my SPI by
extending AbstractIdentityProviderFactory, AbstractOAuth2IdentityProvider,
OAuth2IdentityProviderConfig classes. But when I try to use this provider
for login I get the below error:
ERROR [io.undertow.request] (default task-15) UT005023: Exception handling
request to /auth/realms/com/broker/cust/login:
org.jboss.resteasy.spi.UnhandledException: java.lang.AbstractMethodError:
co.com.custom.spi.CustomtIdentityProviderFactory.create(Lorg/keycloak/models/IdentityProviderModel;)Lorg/keycloak/broker/provider/IdentityProvider;
at
org.jboss.resteasy.core.ExceptionHandler.handleApplicationException(ExceptionHandler.java:76)
at
org.jboss.resteasy.core.ExceptionHandler.handleException(ExceptionHandler.java:212)
Caused by: java.lang.AbstractMethodError:
co.com.custom.spi.CustomIdentityProviderFactory.create(Lorg/keycloak/models/IdentityProviderModel;)Lorg/keycloak/broker/provider/IdentityProvider;
at
org.keycloak.services.resources.IdentityBrokerService.getIdentityProvider(IdentityBrokerService.java:805)
at
org.keycloak.services.resources.IdentityBrokerService.performLogin(IdentityBrokerService.java:156)
Can anyone help me where did I go wrong ?
Thanks
Show replies by date