Skip to content

[BUG] Seems not compatible with Keycloak 26.5.X #610

@sebastienbaillet

Description

@sebastienbaillet

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

Hi,

I can't use keycloak-home-idp-discovery to log in with Keycloak 26.5.X, it causes http 500. When not using the idp discovery by clicking on "Login with [...]" it works.

Expected Behavior

To be able to use idp discovery to log in with Keycloak 26.5.X

Steps To Reproduce

No response

Version

- Keycloak: 26.5.0 or 26.5.1
- This extension:26.1.1

Anything else?

Error stack trace:

2026-01-16 10:52:12,172 ERROR [org.keycloak.services.error.KeycloakErrorHandler] (executor-thread-25) Uncaught server error: java.lang.NoSuchMethodError: 'boolean org.keycloak.models.IdentityProviderModel.isLinkOnly()'
 at de.sventorben.keycloak.authentication.hidpd.Redirector.redirectTo(Redirector.java:42)
 at de.sventorben.keycloak.authentication.hidpd.HomeIdpDiscoveryAuthenticator.redirectOrChallenge(HomeIdpDiscoveryAuthenticator.java:62)
 at de.sventorben.keycloak.authentication.hidpd.HomeIdpDiscoveryAuthenticator.action(HomeIdpDiscoveryAuthenticator.java:101)
 at org.keycloak.authentication.DefaultAuthenticationFlow.processAction(DefaultAuthenticationFlow.java:155)
 at org.keycloak.authentication.AuthenticationProcessor.authenticationAction(AuthenticationProcessor.java:1078)
 at org.keycloak.services.resources.LoginActionsService.processFlow(LoginActionsService.java:381)
 at org.keycloak.services.resources.LoginActionsService.processAuthentication(LoginActionsService.java:352)
 at org.keycloak.services.resources.LoginActionsService.authenticate(LoginActionsService.java:344)
 at org.keycloak.services.resources.LoginActionsService.authenticateForm(LoginActionsService.java:410)
 at org.keycloak.services.resources.LoginActionsService$quarkusrestinvoker$authenticateForm_8a5eee1a0ec5f9d46c9be1d4352061fa6806b300.invoke(Unknown Source)
 at org.jboss.resteasy.reactive.server.handlers.InvocationHandler.handle(InvocationHandler.java:29)
 at io.quarkus.resteasy.reactive.server.runtime.QuarkusResteasyReactiveRequestContext.invokeHandler(QuarkusResteasyReactiveRequestContext.java:183)
 at org.jboss.resteasy.reactive.common.core.AbstractResteasyReactiveContext.run(AbstractResteasyReactiveContext.java:147)
 at io.quarkus.vertx.core.runtime.VertxCoreRecorder$15.runWith(VertxCoreRecorder.java:645)
 at org.jboss.threads.EnhancedQueueExecutor$Task.doRunWith(EnhancedQueueExecutor.java:2651)
 at org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQueueExecutor.java:2630)
 at org.jboss.threads.EnhancedQueueExecutor.runThreadBody(EnhancedQueueExecutor.java:1622)
 at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1589)
 at org.jboss.threads.DelegatingRunnable.run(DelegatingRunnable.java:11)
 at org.jboss.threads.ThreadLocalResettingRunnable.run(ThreadLocalResettingRunnable.java:11)
 at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
 at java.base/java.lang.Thread.run(Thread.java:1583)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions