Not able to configure kie-server with business-central while using RHSSO for authentication.

Solution Unverified - Updated -

Issue

  • Not able to configure kie-server with business-central while using RHSSO for authentication. It fails with exception:
ERROR [io.undertow.request] (default task-3) UT005023: Exception handling request to /business-central/rest/controller/server/default-kieserver: java.lang.IllegalStateException: Should never be called in Keycloak flow
    at org.keycloak.adapters.undertow.KeycloakServletExtension$2.verify(KeycloakServletExtension.java:167)
    at io.undertow.security.impl.SecurityContextImpl.login(SecurityContextImpl.java:198)
    at io.undertow.servlet.spec.HttpServletRequestImpl.login(HttpServletRequestImpl.java:483)
    at org.uberfire.ext.security.server.ServletSecurityAuthenticationService.login(ServletSecurityAuthenticationService.java:69)
    at org.uberfire.ext.security.server.ServletSecurityAuthenticationService$Proxy$_$$_WeldClientProxy.login(Unknown Source)
    at org.uberfire.ext.security.server.BasicAuthSecurityFilter.authenticate(BasicAuthSecurityFilter.java:125)
    at org.uberfire.ext.security.server.BasicAuthSecurityFilter.doFilter(BasicAuthSecurityFilter.java:76)
    at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
    at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
    at org.uberfire.ext.security.server.SecureHeadersFilter.doFilter(SecureHeadersFilter.java:110)
    at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
    at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)

Environment

  • Red Hat Process Automation Manager
    • 7.4.x
  • Red Hat Single Sign-On
    • 7.3.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In