Flowable UI v6.8.0 Keycloak Integration

Hello Community,

We’re facing some challenges to configure Flowable UI (v6.8.0) with Keycloak (v21.1.1) in a Docker Compose environment (official docker images).

We’ve followed the official documentation on how to integrate Flowable with Keycloak, and even the example in the official release notes for v6.8.0.

Flowable UI Config:

spring.security.oauth2.client.registration.keycloak.client-name=Flowable UI Keycloak
spring.security.oauth2.client.registration.keycloak.client-id=flowable-ui
spring.security.oauth2.client.registration.keycloak.client-secret=<secret>
spring.security.oauth2.client.registration.keycloak.authorization-grant-type=authorization_code
spring.security.oauth2.client.registration.keycloak.scope=openid,profile
spring.security.oauth2.client.provider.keycloak.issuer-uri=http://192.168.100.155:8080/realms/Flowable
spring.security.oauth2.client.provider.keycloak.user-name-attribute=preferred_username

flowable.common.app.security.type=oauth2

flowable.idm.app.keycloak.enabled=true
flowable.idm.app.keycloak.server=http://192.168.100.155:8080/
flowable.idm.app.keycloak.authentication-realm=master
flowable.idm.app.keycloak.authentication-user=admin
flowable.idm.app.keycloak.authentication-password=admin
flowable.idm.app.keycloak.realm=Flowable

Flowable UI Error:

***************************
APPLICATION FAILED TO START
***************************

Description:

An attempt was made to call a method that does not exist. The attempt was made from the following location:

    org.springframework.security.config.annotation.web.configurers.oauth2.client.OAuth2ClientConfigurer$AuthorizationCodeGrantConfigurer.createAuthorizationCodeGrantFilter(OAuth2ClientConfigurer.java:292)

The following method did not exist:

    'void org.springframework.security.oauth2.client.web.OAuth2AuthorizationCodeGrantFilter.setSecurityContextHolderStrategy(org.springframework.security.core.context.SecurityContextHolderStrategy)'

The calling method's class, org.springframework.security.config.annotation.web.configurers.oauth2.client.OAuth2ClientConfigurer$AuthorizationCodeGrantConfigurer, was loaded from the following location:

    jar:file:/app/WEB-INF/lib/spring-security-config-5.8.1.jar!/org/springframework/security/config/annotation/web/configurers/oauth2/client/OAuth2ClientConfigurer$AuthorizationCodeGrantConfigurer.class

The called method's class, org.springframework.security.oauth2.client.web.OAuth2AuthorizationCodeGrantFilter, is available from the following locations:

    jar:file:/app/WEB-INF/lib/spring-security-oauth2-client-5.7.5.jar!/org/springframework/security/oauth2/client/web/OAuth2AuthorizationCodeGrantFilter.class

The called method's class hierarchy was loaded from the following locations:

    org.springframework.security.oauth2.client.web.OAuth2AuthorizationCodeGrantFilter: file:/app/WEB-INF/lib/spring-security-oauth2-client-5.7.5.jar
    org.springframework.web.filter.OncePerRequestFilter: file:/app/WEB-INF/lib/spring-web-5.3.24.jar
    org.springframework.web.filter.GenericFilterBean: file:/app/WEB-INF/lib/spring-web-5.3.24.jar


Action:

Correct the classpath of your application so that it contains compatible versions of the classes org.springframework.security.config.annotation.web.configurers.oauth2.client.OAuth2ClientConfigurer$AuthorizationCodeGrantConfigurer and org.springframework.security.oauth2.client.web.OAuth2AuthorizationCodeGrantFilter```

Any advice on troubleshooting ?

Thank you very much in advance.

Hey @cookie_12,

The official documentation that you’ve linked is for the Flowable Enterprise Platform.

The error you are seeing looks like some misconfiguration of something. Are you using the docker image?

Also the UI applications are no longer supported in the latest Flowable 7 release.

Cheers,
Filip

Hello,

Yes, we’re using the official docker images, and the latest official docker image built and published is for v6.8.0, right ?

The config samples we took from the official documentation, and modified the /app/WEB-INF/classes/flowable-default.properties file accordingly.

For example, while experimenting with the older docker image (v6.6.0), it doesn’t seems to have the same error, but the Keycloak integration doesn’t work either for some strange way.

Thank you very much.

Since Flowable 7 there are more UI applications. Yes the latest one there is 6.8.0, but it is not the latest Flowable. Currently we only provide the flowable-rest application as a docker image.

If you are using Docker, why are you modifying these properties? How are you modifying them?

What does it mean it doesn’t work? What kind of errors are you having?

Btw, do you have the full stacktrace for the bootup error perhaps?

Hello,

Are there any plans to package and ship Flowable 7 as Docker image in the future ?

Temporarily, we’re just testing the configuration by either supplying changes as environment variables, or by simply mounting the properties file to the container.

For example:

  flowable-ui:
    image: flowable/flowable-ui:6.8.0
    network_mode: host
    restart: on-failure
    volumes:
      - /opt/flowable/flowable-default.properties:/app/WEB-INF/classes/flowable-default.properties
    environment:
      - SERVER_PORT=9292

Here’s the stack trace for the Flowable UI:

[flowable-ui] |
[flowable-ui] |     //////////          &&&& &&&                                          ,,,         ,,,
[flowable-ui] |   //////////////     &&&&&&& &&&                                          ,,,         ,,,
[flowable-ui] |  ///          ///   &&&      &&&                                          ,,,         ,,,
[flowable-ui] |  ////////     ///   &&&&&&&& &&&   &&&&&&&   &&&   &&&    &&&  ,,,,,,,,,, ,,,,,,,,,   ,,,   ,,,,,,,
[flowable-ui] |  //////   //  ///   &&&&&&&& &&& &&&&   &&&& &&&   &&&    &&& ,,,    ,,,, ,,,,   ,,,, ,,, ,,,    ,,
[flowable-ui] |  ///    ////  ///   &&&      &&& &&&     &&& &&&   &&&    &&& ,,      ,,, ,,,     ,,, ,,, ,,,,,,,,,
[flowable-ui] |  //    /////  ///   &&&      &&& &&&    &&&& &&&   &&&    &&& ,,,    ,,,, ,,,,    ,,, ,,, ,,,
[flowable-ui] |      ///////////    &&&      &&&  &&&&&&&&    &&&&&&&&&&&&&&   ,,,,,,,,,,   ,,,,,,,,  ,,,  ,,,,,,,,
[flowable-ui] |
[flowable-ui] |   :: Flowable :: (v6.8.0)    :: Spring Boot ::  (v2.7.6)
[flowable-ui] |
[flowable-ui] | 2024-08-29 07:25:23.484  INFO 1 --- [           main] o.f.u.application.FlowableUiApplication  : Starting FlowableUiApplication using Java 11.0.15 on server.example.local with PID 1 (/app/WEB-INF/classes started by flowable in /)
[flowable-ui] | 2024-08-29 07:25:23.506  INFO 1 --- [           main] o.f.u.application.FlowableUiApplication  : No active profile set, falling back to 1 default profile: "default"
[flowable-ui] | 2024-08-29 07:25:29.162  INFO 1 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'org.flowable.ui.common.properties.FlowableRemoteIdmAutoConfiguration' of type [org.flowable.ui.common.properties.FlowableRemoteIdmAutoConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
[flowable-ui] | 2024-08-29 07:25:29.181  INFO 1 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'flowable.common.app-org.flowable.ui.common.properties.FlowableCommonAppProperties' of type [org.flowable.ui.common.properties.FlowableCommonAppProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
[flowable-ui] | 2024-08-29 07:25:29.182  INFO 1 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'grantedAuthorityDefaults' of type [org.springframework.security.config.core.GrantedAuthorityDefaults] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
[flowable-ui] | 2024-08-29 07:25:30.603  INFO 1 --- [           main] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat initialized with port(s): 9292 (http)
[flowable-ui] | 2024-08-29 07:25:30.683  INFO 1 --- [           main] o.apache.catalina.core.StandardService   : Starting service [Tomcat]
[flowable-ui] | 2024-08-29 07:25:30.683  INFO 1 --- [           main] org.apache.catalina.core.StandardEngine  : Starting Servlet engine: [Apache Tomcat/9.0.69]
[flowable-ui] | 2024-08-29 07:25:31.021  INFO 1 --- [           main] o.a.c.c.C.[.[localhost].[/flowable]      : Initializing Spring embedded WebApplicationContext
[flowable-ui] | 2024-08-29 07:25:31.021  INFO 1 --- [           main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 6304 ms
[flowable-ui] | 2024-08-29 07:25:33.256  INFO 1 --- [           main] o.f.s.b.ProcessEngineAutoConfiguration   : No deployment resources were found for autodeployment
[flowable-ui] | 2024-08-29 07:25:33.881  INFO 1 --- [           main] o.f.s.b.c.CmmnEngineAutoConfiguration    : No deployment resources were found for autodeployment
[flowable-ui] | 2024-08-29 07:25:34.183  INFO 1 --- [           main] o.f.s.b.dmn.DmnEngineAutoConfiguration   : No deployment resources were found for autodeployment
[flowable-ui] | 2024-08-29 07:25:34.290  INFO 1 --- [           main] o.f.s.b.f.FormEngineAutoConfiguration    : No deployment resources were found for autodeployment
[flowable-ui] | 2024-08-29 07:25:34.359  INFO 1 --- [           main] o.f.s.b.e.EventRegistryAutoConfiguration : No deployment resources were found for autodeployment
[flowable-ui] | 2024-08-29 07:25:34.442  INFO 1 --- [           main] o.f.s.b.app.AppEngineAutoConfiguration   : No deployment resources were found for autodeployment
[flowable-ui] | 2024-08-29 07:25:34.477  INFO 1 --- [           main] o.f.a.s.SpringAppEngineConfiguration     : Found 7 Engine Configurators in total:
[flowable-ui] | 2024-08-29 07:25:34.479  INFO 1 --- [           main] o.f.a.s.SpringAppEngineConfiguration     : class org.flowable.engine.spring.configurator.SpringProcessEngineConfigurator (priority:50000)
[flowable-ui] | 2024-08-29 07:25:34.480  INFO 1 --- [           main] o.f.a.s.SpringAppEngineConfiguration     : class org.flowable.eventregistry.spring.configurator.SpringEventRegistryConfigurator (priority:100000)
[flowable-ui] | 2024-08-29 07:25:34.480  INFO 1 --- [           main] o.f.a.s.SpringAppEngineConfiguration     : class org.flowable.idm.spring.configurator.SpringIdmEngineConfigurator (priority:150000)
[flowable-ui] | 2024-08-29 07:25:34.480  INFO 1 --- [           main] o.f.a.s.SpringAppEngineConfiguration     : class org.flowable.dmn.spring.configurator.SpringDmnEngineConfigurator (priority:200000)
[flowable-ui] | 2024-08-29 07:25:34.480  INFO 1 --- [           main] o.f.a.s.SpringAppEngineConfiguration     : class org.flowable.form.spring.configurator.SpringFormEngineConfigurator (priority:300000)
[flowable-ui] | 2024-08-29 07:25:34.480  INFO 1 --- [           main] o.f.a.s.SpringAppEngineConfiguration     : class org.flowable.content.spring.configurator.SpringContentEngineConfigurator (priority:400000)
[flowable-ui] | 2024-08-29 07:25:34.481  INFO 1 --- [           main] o.f.a.s.SpringAppEngineConfiguration     : class org.flowable.cmmn.spring.configurator.SpringCmmnEngineConfigurator (priority:500000)
[flowable-ui] | 2024-08-29 07:25:34.481  INFO 1 --- [           main] o.f.a.s.SpringAppEngineConfiguration     : Executing beforeInit() of class org.flowable.engine.spring.configurator.SpringProcessEngineConfigurator (priority:50000)
[flowable-ui] | 2024-08-29 07:25:34.945  INFO 1 --- [           main] o.f.a.s.SpringAppEngineConfiguration     : Executing beforeInit() of class org.flowable.eventregistry.spring.configurator.SpringEventRegistryConfigurator (priority:100000)
[flowable-ui] | 2024-08-29 07:25:34.949  INFO 1 --- [           main] o.f.a.s.SpringAppEngineConfiguration     : Executing beforeInit() of class org.flowable.idm.spring.configurator.SpringIdmEngineConfigurator (priority:150000)
[flowable-ui] | 2024-08-29 07:25:34.952  INFO 1 --- [           main] o.f.a.s.SpringAppEngineConfiguration     : Executing beforeInit() of class org.flowable.dmn.spring.configurator.SpringDmnEngineConfigurator (priority:200000)
[flowable-ui] | 2024-08-29 07:25:34.955  INFO 1 --- [           main] o.f.a.s.SpringAppEngineConfiguration     : Executing beforeInit() of class org.flowable.form.spring.configurator.SpringFormEngineConfigurator (priority:300000)
[flowable-ui] | 2024-08-29 07:25:34.958  INFO 1 --- [           main] o.f.a.s.SpringAppEngineConfiguration     : Executing beforeInit() of class org.flowable.content.spring.configurator.SpringContentEngineConfigurator (priority:400000)
[flowable-ui] | 2024-08-29 07:25:34.960  INFO 1 --- [           main] o.f.a.s.SpringAppEngineConfiguration     : Executing beforeInit() of class org.flowable.cmmn.spring.configurator.SpringCmmnEngineConfigurator (priority:500000)
[flowable-ui] | 2024-08-29 07:25:35.097  INFO 1 --- [           main] com.zaxxer.hikari.HikariDataSource       : flowable-ui - Starting...
[flowable-ui] | 2024-08-29 07:25:35.246  INFO 1 --- [           main] com.zaxxer.hikari.HikariDataSource       : flowable-ui - Start completed.
[flowable-ui] | 2024-08-29 07:25:37.658  INFO 1 --- [           main] o.f.a.s.SpringAppEngineConfiguration     : Executing configure() of class org.flowable.engine.spring.configurator.SpringProcessEngineConfigurator (priority:50000)
[flowable-ui] | 2024-08-29 07:25:38.249  INFO 1 --- [           main] o.f.engine.impl.ProcessEngineImpl        : ProcessEngine default created
[flowable-ui] | 2024-08-29 07:25:38.295  INFO 1 --- [           main] o.f.e.impl.cmd.ValidateV5EntitiesCmd     : Total of v5 deployments found: 0
[flowable-ui] | 2024-08-29 07:25:38.306  INFO 1 --- [           main] o.f.a.s.SpringAppEngineConfiguration     : Executing configure() of class org.flowable.eventregistry.spring.configurator.SpringEventRegistryConfigurator (priority:100000)
[flowable-ui] | 2024-08-29 07:25:39.237  INFO 1 --- [           main] liquibase.servicelocator                 : Cannot load service: liquibase.license.LicenseService: Provider liquibase.license.pro.DaticalTrueLicenseService could not be instantiated
[flowable-ui] | 2024-08-29 07:25:39.375  INFO 1 --- [           main] liquibase.database                       : Set default schema name to public
[flowable-ui] | 2024-08-29 07:25:39.525  INFO 1 --- [           main] liquibase.lockservice                    : Successfully acquired change log lock
[flowable-ui] | 2024-08-29 07:25:40.074  INFO 1 --- [           main] liquibase.changelog                      : Reading from public.flw_ev_databasechangelog
[flowable-ui] | 2024-08-29 07:25:40.214  INFO 1 --- [           main] liquibase.lockservice                    : Successfully released change log lock
[flowable-ui] | 2024-08-29 07:25:40.214  INFO 1 --- [           main] o.f.e.impl.EventRegistryEngineImpl       : EventRegistryEngine default created
[flowable-ui] | 2024-08-29 07:25:40.215  INFO 1 --- [           main] o.f.a.s.SpringAppEngineConfiguration     : Executing configure() of class org.flowable.idm.spring.configurator.SpringIdmEngineConfigurator (priority:150000)
[flowable-ui] | 2024-08-29 07:25:40.227  INFO 1 --- [           main] o.f.idm.engine.impl.IdmEngineImpl        : IdmEngine default created
[flowable-ui] | 2024-08-29 07:25:40.228  INFO 1 --- [           main] o.f.a.s.SpringAppEngineConfiguration     : Executing configure() of class org.flowable.dmn.spring.configurator.SpringDmnEngineConfigurator (priority:200000)
[flowable-ui] | 2024-08-29 07:25:40.277  INFO 1 --- [           main] liquibase.database                       : Set default schema name to public
[flowable-ui] | 2024-08-29 07:25:40.289  INFO 1 --- [           main] liquibase.lockservice                    : Successfully acquired change log lock
[flowable-ui] | 2024-08-29 07:25:40.342  INFO 1 --- [           main] liquibase.changelog                      : Reading from public.act_dmn_databasechangelog
[flowable-ui] | 2024-08-29 07:25:40.367  INFO 1 --- [           main] liquibase.lockservice                    : Successfully released change log lock
[flowable-ui] | 2024-08-29 07:25:40.368  INFO 1 --- [           main] o.f.dmn.engine.impl.DmnEngineImpl        : DmnEngine default created
[flowable-ui] | 2024-08-29 07:25:40.369  INFO 1 --- [           main] o.f.a.s.SpringAppEngineConfiguration     : Executing configure() of class org.flowable.form.spring.configurator.SpringFormEngineConfigurator (priority:300000)
[flowable-ui] | 2024-08-29 07:25:40.380  INFO 1 --- [           main] liquibase.database                       : Set default schema name to public
[flowable-ui] | 2024-08-29 07:25:40.390  INFO 1 --- [           main] liquibase.lockservice                    : Successfully acquired change log lock
[flowable-ui] | 2024-08-29 07:25:40.440  INFO 1 --- [           main] liquibase.changelog                      : Reading from public.act_fo_databasechangelog
[flowable-ui] | 2024-08-29 07:25:40.457  INFO 1 --- [           main] liquibase.lockservice                    : Successfully released change log lock
[flowable-ui] | 2024-08-29 07:25:40.457  INFO 1 --- [           main] o.f.form.engine.impl.FormEngineImpl      : FormEngine default created
[flowable-ui] | 2024-08-29 07:25:40.458  INFO 1 --- [           main] o.f.a.s.SpringAppEngineConfiguration     : Executing configure() of class org.flowable.content.spring.configurator.SpringContentEngineConfigurator (priority:400000)
[flowable-ui] | 2024-08-29 07:25:40.462  INFO 1 --- [           main] o.f.c.s.SpringContentEngineConfiguration : Content file system root : /data
[flowable-ui] | 2024-08-29 07:25:40.464  INFO 1 --- [           main] f.c.e.i.f.SimpleFileSystemContentStorage : Created content folder in /data/task-content
[flowable-ui] | 2024-08-29 07:25:40.464  INFO 1 --- [           main] f.c.e.i.f.SimpleFileSystemContentStorage : Created content folder in /data/process-instance-content
[flowable-ui] | 2024-08-29 07:25:40.465  INFO 1 --- [           main] f.c.e.i.f.SimpleFileSystemContentStorage : Created content folder in /data/cmmn
[flowable-ui] | 2024-08-29 07:25:40.465  INFO 1 --- [           main] f.c.e.i.f.SimpleFileSystemContentStorage : Created content folder in /data/uncategorized
[flowable-ui] | 2024-08-29 07:25:40.474  INFO 1 --- [           main] liquibase.database                       : Set default schema name to public
[flowable-ui] | 2024-08-29 07:25:40.484  INFO 1 --- [           main] liquibase.lockservice                    : Successfully acquired change log lock
[flowable-ui] | 2024-08-29 07:25:40.540  INFO 1 --- [           main] liquibase.changelog                      : Reading from public.act_co_databasechangelog
[flowable-ui] | 2024-08-29 07:25:40.557  INFO 1 --- [           main] liquibase.lockservice                    : Successfully released change log lock
[flowable-ui] | 2024-08-29 07:25:40.558  INFO 1 --- [           main] o.f.c.engine.impl.ContentEngineImpl      : ContentEngine default created
[flowable-ui] | 2024-08-29 07:25:40.559  INFO 1 --- [           main] o.f.a.s.SpringAppEngineConfiguration     : Executing configure() of class org.flowable.cmmn.spring.configurator.SpringCmmnEngineConfigurator (priority:500000)
[flowable-ui] | 2024-08-29 07:25:40.805  INFO 1 --- [           main] liquibase.database                       : Set default schema name to public
[flowable-ui] | 2024-08-29 07:25:40.815  INFO 1 --- [           main] liquibase.lockservice                    : Successfully acquired change log lock
[flowable-ui] | 2024-08-29 07:25:40.868  INFO 1 --- [           main] liquibase.changelog                      : Reading from public.act_cmmn_databasechangelog
[flowable-ui] | 2024-08-29 07:25:40.899  INFO 1 --- [           main] liquibase.lockservice                    : Successfully released change log lock
[flowable-ui] | 2024-08-29 07:25:40.900  INFO 1 --- [           main] o.f.cmmn.engine.impl.CmmnEngineImpl      : CmmnEngine default created
[flowable-ui] | 2024-08-29 07:25:40.912  INFO 1 --- [           main] liquibase.database                       : Set default schema name to public
[flowable-ui] | 2024-08-29 07:25:40.921  INFO 1 --- [           main] liquibase.lockservice                    : Successfully acquired change log lock
[flowable-ui] | 2024-08-29 07:25:40.970  INFO 1 --- [           main] liquibase.changelog                      : Reading from public.act_app_databasechangelog
[flowable-ui] | 2024-08-29 07:25:40.981  INFO 1 --- [           main] liquibase.lockservice                    : Successfully released change log lock
[flowable-ui] | 2024-08-29 07:25:40.981  INFO 1 --- [           main] o.f.app.engine.impl.AppEngineImpl        : AppEngine default created
[flowable-ui] | 2024-08-29 07:25:41.406  INFO 1 --- [           main] o.f.u.m.c.ModelerDatabaseConfiguration   : database product name: 'PostgreSQL'
[flowable-ui] | 2024-08-29 07:25:41.406  INFO 1 --- [           main] o.f.u.m.c.ModelerDatabaseConfiguration   : using database type: postgres
[flowable-ui] | 2024-08-29 07:25:41.949  INFO 1 --- [           main] o.s.b.a.w.s.WelcomePageHandlerMapping    : Adding welcome page: class path resource [static/index.html]
[flowable-ui] | 2024-08-29 07:25:42.232  INFO 1 --- [           main] u.c.s.CustomPersistentRememberMeServices : Cookie max-age set to 2678400 seconds
[flowable-ui] | 2024-08-29 07:25:42.232  INFO 1 --- [           main] u.c.s.CustomPersistentRememberMeServices : Cookie refresh age set to 86400 seconds
[flowable-ui] | 2024-08-29 07:25:42.285  INFO 1 --- [           main] liquibase.database                       : Set default schema name to public
[flowable-ui] | 2024-08-29 07:25:42.295  INFO 1 --- [           main] liquibase.lockservice                    : Successfully acquired change log lock
[flowable-ui] | 2024-08-29 07:25:42.334  INFO 1 --- [           main] liquibase.changelog                      : Reading from public.act_adm_databasechangelog
[flowable-ui] | 2024-08-29 07:25:42.340  INFO 1 --- [           main] liquibase.lockservice                    : Successfully released change log lock
[flowable-ui] | 2024-08-29 07:25:42.887  INFO 1 --- [           main] o.s.s.web.DefaultSecurityFilterChain     : Will secure Ant [pattern='/api/idm/**'] with [org.springframework.security.web.session.DisableEncodeUrlFilter@2cf09576, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@2d260f2a, org.springframework.security.web.context.SecurityContextPersistenceFilter@ae20523, org.springframework.security.web.header.HeaderWriterFilter@ffd26d1, org.springframework.security.web.authentication.logout.LogoutFilter@7f913c47, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@1e295ef1, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@2700609f, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@5233b7ad, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@79ac02a9, org.springframework.security.web.session.SessionManagementFilter@3cdf8aa5, org.springframework.security.web.access.ExceptionTranslationFilter@5e4a9c16, org.springframework.security.web.access.intercept.FilterSecurityInterceptor@39ebf505]
[flowable-ui] | 2024-08-29 07:25:42.890  INFO 1 --- [           main] o.s.s.web.DefaultSecurityFilterChain     : Will secure Ant [pattern='/*-api/**'] with [org.springframework.security.web.session.DisableEncodeUrlFilter@1643e817, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@4e43a23a, org.springframework.security.web.context.SecurityContextPersistenceFilter@3f31ccef, org.springframework.security.web.header.HeaderWriterFilter@48b85dc5, org.springframework.security.web.authentication.logout.LogoutFilter@3ae81b53, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@797bbeae, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@65d28ad4, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@6f0ea5de, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@291fbdc9, org.springframework.security.web.session.SessionManagementFilter@350a3df3, org.springframework.security.web.access.ExceptionTranslationFilter@1c38d025, org.springframework.security.web.access.intercept.FilterSecurityInterceptor@5f571d96]
[flowable-ui] | 2024-08-29 07:25:42.892  INFO 1 --- [           main] o.s.s.web.DefaultSecurityFilterChain     : Will secure Ant [pattern='/api/editor/**'] with [org.springframework.security.web.session.DisableEncodeUrlFilter@1b131102, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@75be3cdf, org.springframework.security.web.context.SecurityContextPersistenceFilter@26c9225a, org.springframework.security.web.header.HeaderWriterFilter@43b45e77, org.springframework.security.web.authentication.logout.LogoutFilter@7307e418, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@72b8b04f, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@10ba757f, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@711cd6f9, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@f500481, org.springframework.security.web.session.SessionManagementFilter@71639428, org.springframework.security.web.access.ExceptionTranslationFilter@247246ea, org.springframework.security.web.access.intercept.FilterSecurityInterceptor@69c27acb]
[flowable-ui] | 2024-08-29 07:25:42.894  INFO 1 --- [           main] o.s.s.web.DefaultSecurityFilterChain     : Will secure org.flowable.ui.common.security.ActuatorRequestMatcher@1b2c513e with [org.springframework.security.web.session.DisableEncodeUrlFilter@4098ef14, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@1b74a062, org.springframework.security.web.context.SecurityContextPersistenceFilter@25c887ca, org.springframework.security.web.header.HeaderWriterFilter@7be29ac4, org.springframework.security.web.authentication.logout.LogoutFilter@3b6f7ab3, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@57e351a, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@ba65354, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@647dcc5e, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@6f5690f3, org.springframework.security.web.session.SessionManagementFilter@2523730b, org.springframework.security.web.access.ExceptionTranslationFilter@2381a837, org.springframework.security.web.access.intercept.FilterSecurityInterceptor@61774805]
[flowable-ui] | 2024-08-29 07:25:42.935  WARN 1 --- [           main] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'springSecurityFilterChain' defined in class path resource [org/springframework/security/config/annotation/web/configuration/WebSecurityConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [javax.servlet.Filter]: Factory method 'springSecurityFilterChain' threw exception; nested exception is java.lang.NoSuchMethodError: 'void org.springframework.security.oauth2.client.web.OAuth2AuthorizationCodeGrantFilter.setSecurityContextHolderStrategy(org.springframework.security.core.context.SecurityContextHolderStrategy)'
[flowable-ui] | 2024-08-29 07:25:42.935  WARN 1 --- [           main] liquibase.database                       : Failed to restore the auto commit to true
[flowable-ui] | 2024-08-29 07:25:42.935  WARN 1 --- [           main] o.s.b.f.support.DisposableBeanAdapter    : Invocation of close method failed on bean with name 'adminLiquibase': liquibase.exception.DatabaseException: java.sql.SQLException: Connection is closed
[flowable-ui] | 2024-08-29 07:25:42.959  INFO 1 --- [           main] com.zaxxer.hikari.HikariDataSource       : flowable-ui - Shutdown initiated...
[flowable-ui] | 2024-08-29 07:25:42.967  INFO 1 --- [           main] com.zaxxer.hikari.HikariDataSource       : flowable-ui - Shutdown completed.
[flowable-ui] | 2024-08-29 07:25:42.970  INFO 1 --- [           main] o.apache.catalina.core.StandardService   : Stopping service [Tomcat]
[flowable-ui] | 2024-08-29 07:25:42.987  INFO 1 --- [           main] ConditionEvaluationReportLoggingListener :
[flowable-ui] |
[flowable-ui] | Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
[flowable-ui] | 2024-08-29 07:25:43.006 ERROR 1 --- [           main] o.s.b.d.LoggingFailureAnalysisReporter   :
[flowable-ui] |
[flowable-ui] | ***************************
[flowable-ui] | APPLICATION FAILED TO START
[flowable-ui] | ***************************
[flowable-ui] |
[flowable-ui] | Description:
[flowable-ui] |
[flowable-ui] | An attempt was made to call a method that does not exist. The attempt was made from the following location:
[flowable-ui] |
[flowable-ui] |     org.springframework.security.config.annotation.web.configurers.oauth2.client.OAuth2ClientConfigurer$AuthorizationCodeGrantConfigurer.createAuthorizationCodeGrantFilter(OAuth2ClientConfigurer.java:292)
[flowable-ui] |
[flowable-ui] | The following method did not exist:
[flowable-ui] |
[flowable-ui] |     'void org.springframework.security.oauth2.client.web.OAuth2AuthorizationCodeGrantFilter.setSecurityContextHolderStrategy(org.springframework.security.core.context.SecurityContextHolderStrategy)'
[flowable-ui] |
[flowable-ui] | The calling method's class, org.springframework.security.config.annotation.web.configurers.oauth2.client.OAuth2ClientConfigurer$AuthorizationCodeGrantConfigurer, was loaded from the following location:
[flowable-ui] |
[flowable-ui] |     jar:file:/app/WEB-INF/lib/spring-security-config-5.8.1.jar!/org/springframework/security/config/annotation/web/configurers/oauth2/client/OAuth2ClientConfigurer$AuthorizationCodeGrantConfigurer.class
[flowable-ui] |
[flowable-ui] | The called method's class, org.springframework.security.oauth2.client.web.OAuth2AuthorizationCodeGrantFilter, is available from the following locations:
[flowable-ui] |
[flowable-ui] |     jar:file:/app/WEB-INF/lib/spring-security-oauth2-client-5.7.5.jar!/org/springframework/security/oauth2/client/web/OAuth2AuthorizationCodeGrantFilter.class
[flowable-ui] |
[flowable-ui] | The called method's class hierarchy was loaded from the following locations:
[flowable-ui] |
[flowable-ui] |     org.springframework.security.oauth2.client.web.OAuth2AuthorizationCodeGrantFilter: file:/app/WEB-INF/lib/spring-security-oauth2-client-5.7.5.jar
[flowable-ui] |     org.springframework.web.filter.OncePerRequestFilter: file:/app/WEB-INF/lib/spring-web-5.3.24.jar
[flowable-ui] |     org.springframework.web.filter.GenericFilterBean: file:/app/WEB-INF/lib/spring-web-5.3.24.jar
[flowable-ui] |
[flowable-ui] |
[flowable-ui] | Action:
[flowable-ui] |
[flowable-ui] | Correct the classpath of your application so that it contains compatible versions of the classes org.springframework.security.config.annotation.web.configurers.oauth2.client.OAuth2ClientConfigurer$AuthorizationCodeGrantConfigurer and org.springframework.security.oauth2.client.web.OAuth2AuthorizationCodeGrantFilter
[flowable-ui] |

Thank you very much in advance.

We are packing Flowable 7 as a Docker image. That is the flowable-rest docker image. What we do not have in Flowable 7 is the UI applications and that’s why there is no flowable-ui docker image for Flowable 7.

Can you perhaps try just with using environment properties not not mount into the app/WEB-INF/classes folder.

The error you are getting is extremely strange and looks like the wrong classes are there.

Cheers,
Filip

Hello,

Here’s the Docker Compose sample for v6.8.0:

   flowable-ui:
    image: flowable/flowable-ui:6.8.0
    network_mode: host
    restart: on-failure
    environment:
      - SERVER_PORT=9292
      - SERVER_SERVLET_CONTEXT_PATH=/flowable
      - SPRING_DATASOURCE_DRIVER_CLASS_NAME=org.postgresql.Driver
      - SPRING_DATASOURCE_URL=jdbc:postgresql://127.0.0.1:5432/flowable
      - SPRING_DATASOURCE_USERNAME=flowable
      - SPRING_DATASOURCE_PASSWORD=flowable123
      - FLOWABLE_COMMON_APP_IDM_ADMIN_USER=admin
      - FLOWABLE_COMMON_APP_IDM_ADMIN_PASSWORD=test
      - SPRING_SECURITY_OAUTH2_CLIENT_REGISTRATION_KEYCLOAK_CLIENT_NAME=Flowable UI Keycloak
      - SPRING_SECURITY_OAUTH2_CLIENT_REGISTRATION_KEYCLOAK_CLIENT_ID=flowable-ui
      - SPRING_SECURITY_OAUTH2_CLIENT_REGISTRATION_KEYCLOAK_CLIENT_SECRET=JPfgMTqMzZ94wbz8Gdz57yU1LnxUh8AZ
      - SPRING_SECURITY_OAUTH2_CLIENT_REGISTRATION_KEYCLOAK_AUTHORIZATION_GRANT_TYPE=authorization_code
      - SPRING_SECURITY_OAUTH2_CLIENT_REGISTRATION_KEYCLOAK_SCOPE=openid,profile
      - SPRING_SECURITY_OAUTH2_CLIENT_PROVIDER_KEYCLOAK_ISSUER_URI=http://192.168.100.155:8080/realms/Flowable
      - SPRING_SECURITY_OAUTH2_CLIENT_PROVIDER_KEYCLOAK_USER_NAME_ATTRIBUTE=preferred_username
      - FLOWABLE_COMMON_APP_SECURITY_TYPE=oauth2
      - FLOWABLE_IDM_APP_KEYCLOAK_ENABLED=true
      - FLOWABLE_IDM_APP_KEYCLOAK_SERVER=http://192.168.100.155:8080/
      - FLOWABLE_IDM_APP_KEYCLOAK_AUTHENTICATION_REALM=master
      - FLOWABLE_IDM_APP_KEYCLOAK_AUTHENTICATION_USER=admin
      - FLOWABLE_IDM_APP_KEYCLOAK_AUTHENTICATION_PASSWORD=admin
      - FLOWABLE_IDM_APP_KEYCLOAK_REALM=Flowable
    entrypoint: ["./wait-for-something.sh", "127.0.0.1", "5432", "PostgreSQL", "/flowable-entrypoint.sh"]

Flowable UI v6.8.0:

[flowable-ui] |
[flowable-ui] |     //////////          &&&& &&&                                          ,,,         ,,,
[flowable-ui] |   //////////////     &&&&&&& &&&                                          ,,,         ,,,
[flowable-ui] |  ///          ///   &&&      &&&                                          ,,,         ,,,
[flowable-ui] |  ////////     ///   &&&&&&&& &&&   &&&&&&&   &&&   &&&    &&&  ,,,,,,,,,, ,,,,,,,,,   ,,,   ,,,,,,,
[flowable-ui] |  //////   //  ///   &&&&&&&& &&& &&&&   &&&& &&&   &&&    &&& ,,,    ,,,, ,,,,   ,,,, ,,, ,,,    ,,
[flowable-ui] |  ///    ////  ///   &&&      &&& &&&     &&& &&&   &&&    &&& ,,      ,,, ,,,     ,,, ,,, ,,,,,,,,,
[flowable-ui] |  //    /////  ///   &&&      &&& &&&    &&&& &&&   &&&    &&& ,,,    ,,,, ,,,,    ,,, ,,, ,,,
[flowable-ui] |      ///////////    &&&      &&&  &&&&&&&&    &&&&&&&&&&&&&&   ,,,,,,,,,,   ,,,,,,,,  ,,,  ,,,,,,,,
[flowable-ui] |
[flowable-ui] |   :: Flowable :: (v6.8.0)    :: Spring Boot ::  (v2.7.6)
[flowable-ui] |
[flowable-ui] | 2024-08-29 08:02:14.395  INFO 1 --- [           main] o.f.u.application.FlowableUiApplication  : Starting FlowableUiApplication using Java 11.0.15 on server.example.local with PID 1 (/app/WEB-INF/classes started by flowable in /)
[flowable-ui] | 2024-08-29 08:02:14.400  INFO 1 --- [           main] o.f.u.application.FlowableUiApplication  : No active profile set, falling back to 1 default profile: "default"
[flowable-ui] | 2024-08-29 08:02:16.598  INFO 1 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'org.flowable.ui.common.properties.FlowableRemoteIdmAutoConfiguration' of type [org.flowable.ui.common.properties.FlowableRemoteIdmAutoConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
[flowable-ui] | 2024-08-29 08:02:16.616  INFO 1 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'flowable.common.app-org.flowable.ui.common.properties.FlowableCommonAppProperties' of type [org.flowable.ui.common.properties.FlowableCommonAppProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
[flowable-ui] | 2024-08-29 08:02:16.617  INFO 1 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'grantedAuthorityDefaults' of type [org.springframework.security.config.core.GrantedAuthorityDefaults] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
[flowable-ui] | 2024-08-29 08:02:16.881  INFO 1 --- [           main] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat initialized with port(s): 9292 (http)
[flowable-ui] | 2024-08-29 08:02:16.893  INFO 1 --- [           main] o.apache.catalina.core.StandardService   : Starting service [Tomcat]
[flowable-ui] | 2024-08-29 08:02:16.894  INFO 1 --- [           main] org.apache.catalina.core.StandardEngine  : Starting Servlet engine: [Apache Tomcat/9.0.69]
[flowable-ui] | 2024-08-29 08:02:17.130  INFO 1 --- [           main] o.a.c.c.C.[.[localhost].[/flowable]      : Initializing Spring embedded WebApplicationContext
[flowable-ui] | 2024-08-29 08:02:17.131  INFO 1 --- [           main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 2231 ms
[flowable-ui] | 2024-08-29 08:02:17.884  INFO 1 --- [           main] o.f.s.b.ProcessEngineAutoConfiguration   : No deployment resources were found for autodeployment
[flowable-ui] | 2024-08-29 08:02:18.152  INFO 1 --- [           main] o.f.s.b.c.CmmnEngineAutoConfiguration    : No deployment resources were found for autodeployment
[flowable-ui] | 2024-08-29 08:02:18.253  INFO 1 --- [           main] o.f.s.b.dmn.DmnEngineAutoConfiguration   : No deployment resources were found for autodeployment
[flowable-ui] | 2024-08-29 08:02:18.289  INFO 1 --- [           main] o.f.s.b.f.FormEngineAutoConfiguration    : No deployment resources were found for autodeployment
[flowable-ui] | 2024-08-29 08:02:18.336  INFO 1 --- [           main] o.f.s.b.e.EventRegistryAutoConfiguration : No deployment resources were found for autodeployment
[flowable-ui] | 2024-08-29 08:02:18.372  INFO 1 --- [           main] o.f.s.b.app.AppEngineAutoConfiguration   : No deployment resources were found for autodeployment
[flowable-ui] | 2024-08-29 08:02:18.392  INFO 1 --- [           main] o.f.a.s.SpringAppEngineConfiguration     : Found 7 Engine Configurators in total:
[flowable-ui] | 2024-08-29 08:02:18.393  INFO 1 --- [           main] o.f.a.s.SpringAppEngineConfiguration     : class org.flowable.engine.spring.configurator.SpringProcessEngineConfigurator (priority:50000)
[flowable-ui] | 2024-08-29 08:02:18.393  INFO 1 --- [           main] o.f.a.s.SpringAppEngineConfiguration     : class org.flowable.eventregistry.spring.configurator.SpringEventRegistryConfigurator (priority:100000)
[flowable-ui] | 2024-08-29 08:02:18.393  INFO 1 --- [           main] o.f.a.s.SpringAppEngineConfiguration     : class org.flowable.idm.spring.configurator.SpringIdmEngineConfigurator (priority:150000)
[flowable-ui] | 2024-08-29 08:02:18.394  INFO 1 --- [           main] o.f.a.s.SpringAppEngineConfiguration     : class org.flowable.dmn.spring.configurator.SpringDmnEngineConfigurator (priority:200000)
[flowable-ui] | 2024-08-29 08:02:18.394  INFO 1 --- [           main] o.f.a.s.SpringAppEngineConfiguration     : class org.flowable.form.spring.configurator.SpringFormEngineConfigurator (priority:300000)
[flowable-ui] | 2024-08-29 08:02:18.394  INFO 1 --- [           main] o.f.a.s.SpringAppEngineConfiguration     : class org.flowable.content.spring.configurator.SpringContentEngineConfigurator (priority:400000)
[flowable-ui] | 2024-08-29 08:02:18.394  INFO 1 --- [           main] o.f.a.s.SpringAppEngineConfiguration     : class org.flowable.cmmn.spring.configurator.SpringCmmnEngineConfigurator (priority:500000)
[flowable-ui] | 2024-08-29 08:02:18.394  INFO 1 --- [           main] o.f.a.s.SpringAppEngineConfiguration     : Executing beforeInit() of class org.flowable.engine.spring.configurator.SpringProcessEngineConfigurator (priority:50000)
[flowable-ui] | 2024-08-29 08:02:18.474  INFO 1 --- [           main] o.f.a.s.SpringAppEngineConfiguration     : Executing beforeInit() of class org.flowable.eventregistry.spring.configurator.SpringEventRegistryConfigurator (priority:100000)
[flowable-ui] | 2024-08-29 08:02:18.478  INFO 1 --- [           main] o.f.a.s.SpringAppEngineConfiguration     : Executing beforeInit() of class org.flowable.idm.spring.configurator.SpringIdmEngineConfigurator (priority:150000)
[flowable-ui] | 2024-08-29 08:02:18.481  INFO 1 --- [           main] o.f.a.s.SpringAppEngineConfiguration     : Executing beforeInit() of class org.flowable.dmn.spring.configurator.SpringDmnEngineConfigurator (priority:200000)
[flowable-ui] | 2024-08-29 08:02:18.485  INFO 1 --- [           main] o.f.a.s.SpringAppEngineConfiguration     : Executing beforeInit() of class org.flowable.form.spring.configurator.SpringFormEngineConfigurator (priority:300000)
[flowable-ui] | 2024-08-29 08:02:18.488  INFO 1 --- [           main] o.f.a.s.SpringAppEngineConfiguration     : Executing beforeInit() of class org.flowable.content.spring.configurator.SpringContentEngineConfigurator (priority:400000)
[flowable-ui] | 2024-08-29 08:02:18.491  INFO 1 --- [           main] o.f.a.s.SpringAppEngineConfiguration     : Executing beforeInit() of class org.flowable.cmmn.spring.configurator.SpringCmmnEngineConfigurator (priority:500000)
[flowable-ui] | 2024-08-29 08:02:18.519  INFO 1 --- [           main] com.zaxxer.hikari.HikariDataSource       : flowable-ui - Starting...
[flowable-ui] | 2024-08-29 08:02:18.642  INFO 1 --- [           main] com.zaxxer.hikari.HikariDataSource       : flowable-ui - Start completed.
[flowable-ui] | 2024-08-29 08:02:19.851  INFO 1 --- [           main] o.f.a.s.SpringAppEngineConfiguration     : Executing configure() of class org.flowable.engine.spring.configurator.SpringProcessEngineConfigurator (priority:50000)
[flowable-ui] | 2024-08-29 08:02:20.081  INFO 1 --- [           main] o.f.engine.impl.ProcessEngineImpl        : ProcessEngine default created
[flowable-ui] | 2024-08-29 08:02:20.116  INFO 1 --- [           main] o.f.e.impl.cmd.ValidateV5EntitiesCmd     : Total of v5 deployments found: 0
[flowable-ui] | 2024-08-29 08:02:20.120  INFO 1 --- [           main] o.f.a.s.SpringAppEngineConfiguration     : Executing configure() of class org.flowable.eventregistry.spring.configurator.SpringEventRegistryConfigurator (priority:100000)
[flowable-ui] | 2024-08-29 08:02:20.329  INFO 1 --- [           main] liquibase.servicelocator                 : Cannot load service: liquibase.license.LicenseService: Provider liquibase.license.pro.DaticalTrueLicenseService could not be instantiated
[flowable-ui] | 2024-08-29 08:02:20.428  INFO 1 --- [           main] liquibase.database                       : Set default schema name to public
[flowable-ui] | 2024-08-29 08:02:20.501  INFO 1 --- [           main] liquibase.lockservice                    : Successfully acquired change log lock
[flowable-ui] | 2024-08-29 08:02:20.989  INFO 1 --- [           main] liquibase.changelog                      : Reading from public.flw_ev_databasechangelog
[flowable-ui] | 2024-08-29 08:02:21.084  INFO 1 --- [           main] liquibase.lockservice                    : Successfully released change log lock
[flowable-ui] | 2024-08-29 08:02:21.084  INFO 1 --- [           main] o.f.e.impl.EventRegistryEngineImpl       : EventRegistryEngine default created
[flowable-ui] | 2024-08-29 08:02:21.086  INFO 1 --- [           main] o.f.a.s.SpringAppEngineConfiguration     : Executing configure() of class org.flowable.idm.spring.configurator.SpringIdmEngineConfigurator (priority:150000)
[flowable-ui] | 2024-08-29 08:02:21.096  INFO 1 --- [           main] o.f.idm.engine.impl.IdmEngineImpl        : IdmEngine default created
[flowable-ui] | 2024-08-29 08:02:21.098  INFO 1 --- [           main] o.f.a.s.SpringAppEngineConfiguration     : Executing configure() of class org.flowable.dmn.spring.configurator.SpringDmnEngineConfigurator (priority:200000)
[flowable-ui] | 2024-08-29 08:02:21.117  INFO 1 --- [           main] liquibase.database                       : Set default schema name to public
[flowable-ui] | 2024-08-29 08:02:21.128  INFO 1 --- [           main] liquibase.lockservice                    : Successfully acquired change log lock
[flowable-ui] | 2024-08-29 08:02:21.180  INFO 1 --- [           main] liquibase.changelog                      : Reading from public.act_dmn_databasechangelog
[flowable-ui] | 2024-08-29 08:02:21.204  INFO 1 --- [           main] liquibase.lockservice                    : Successfully released change log lock
[flowable-ui] | 2024-08-29 08:02:21.205  INFO 1 --- [           main] o.f.dmn.engine.impl.DmnEngineImpl        : DmnEngine default created
[flowable-ui] | 2024-08-29 08:02:21.206  INFO 1 --- [           main] o.f.a.s.SpringAppEngineConfiguration     : Executing configure() of class org.flowable.form.spring.configurator.SpringFormEngineConfigurator (priority:300000)
[flowable-ui] | 2024-08-29 08:02:21.218  INFO 1 --- [           main] liquibase.database                       : Set default schema name to public
[flowable-ui] | 2024-08-29 08:02:21.228  INFO 1 --- [           main] liquibase.lockservice                    : Successfully acquired change log lock
[flowable-ui] | 2024-08-29 08:02:21.274  INFO 1 --- [           main] liquibase.changelog                      : Reading from public.act_fo_databasechangelog
[flowable-ui] | 2024-08-29 08:02:21.292  INFO 1 --- [           main] liquibase.lockservice                    : Successfully released change log lock
[flowable-ui] | 2024-08-29 08:02:21.292  INFO 1 --- [           main] o.f.form.engine.impl.FormEngineImpl      : FormEngine default created
[flowable-ui] | 2024-08-29 08:02:21.293  INFO 1 --- [           main] o.f.a.s.SpringAppEngineConfiguration     : Executing configure() of class org.flowable.content.spring.configurator.SpringContentEngineConfigurator (priority:400000)
[flowable-ui] | 2024-08-29 08:02:21.296  INFO 1 --- [           main] o.f.c.s.SpringContentEngineConfiguration : Content file system root : /data
[flowable-ui] | 2024-08-29 08:02:21.297  INFO 1 --- [           main] f.c.e.i.f.SimpleFileSystemContentStorage : Created content folder in /data/task-content
[flowable-ui] | 2024-08-29 08:02:21.298  INFO 1 --- [           main] f.c.e.i.f.SimpleFileSystemContentStorage : Created content folder in /data/process-instance-content
[flowable-ui] | 2024-08-29 08:02:21.298  INFO 1 --- [           main] f.c.e.i.f.SimpleFileSystemContentStorage : Created content folder in /data/cmmn
[flowable-ui] | 2024-08-29 08:02:21.298  INFO 1 --- [           main] f.c.e.i.f.SimpleFileSystemContentStorage : Created content folder in /data/uncategorized
[flowable-ui] | 2024-08-29 08:02:21.304  INFO 1 --- [           main] liquibase.database                       : Set default schema name to public
[flowable-ui] | 2024-08-29 08:02:21.313  INFO 1 --- [           main] liquibase.lockservice                    : Successfully acquired change log lock
[flowable-ui] | 2024-08-29 08:02:21.363  INFO 1 --- [           main] liquibase.changelog                      : Reading from public.act_co_databasechangelog
[flowable-ui] | 2024-08-29 08:02:21.385  INFO 1 --- [           main] liquibase.lockservice                    : Successfully released change log lock
[flowable-ui] | 2024-08-29 08:02:21.386  INFO 1 --- [           main] o.f.c.engine.impl.ContentEngineImpl      : ContentEngine default created
[flowable-ui] | 2024-08-29 08:02:21.387  INFO 1 --- [           main] o.f.a.s.SpringAppEngineConfiguration     : Executing configure() of class org.flowable.cmmn.spring.configurator.SpringCmmnEngineConfigurator (priority:500000)
[flowable-ui] | 2024-08-29 08:02:21.470  INFO 1 --- [           main] liquibase.database                       : Set default schema name to public
[flowable-ui] | 2024-08-29 08:02:21.480  INFO 1 --- [           main] liquibase.lockservice                    : Successfully acquired change log lock
[flowable-ui] | 2024-08-29 08:02:21.553  INFO 1 --- [           main] liquibase.changelog                      : Reading from public.act_cmmn_databasechangelog
[flowable-ui] | 2024-08-29 08:02:21.588  INFO 1 --- [           main] liquibase.lockservice                    : Successfully released change log lock
[flowable-ui] | 2024-08-29 08:02:21.589  INFO 1 --- [           main] o.f.cmmn.engine.impl.CmmnEngineImpl      : CmmnEngine default created
[flowable-ui] | 2024-08-29 08:02:21.608  INFO 1 --- [           main] liquibase.database                       : Set default schema name to public
[flowable-ui] | 2024-08-29 08:02:21.628  INFO 1 --- [           main] liquibase.lockservice                    : Successfully acquired change log lock
[flowable-ui] | 2024-08-29 08:02:21.687  INFO 1 --- [           main] liquibase.changelog                      : Reading from public.act_app_databasechangelog
[flowable-ui] | 2024-08-29 08:02:21.705  INFO 1 --- [           main] liquibase.lockservice                    : Successfully released change log lock
[flowable-ui] | 2024-08-29 08:02:21.705  INFO 1 --- [           main] o.f.app.engine.impl.AppEngineImpl        : AppEngine default created
[flowable-ui] | 2024-08-29 08:02:21.833  INFO 1 --- [           main] o.f.u.m.c.ModelerDatabaseConfiguration   : database product name: 'PostgreSQL'
[flowable-ui] | 2024-08-29 08:02:21.833  INFO 1 --- [           main] o.f.u.m.c.ModelerDatabaseConfiguration   : using database type: postgres
[flowable-ui] | 2024-08-29 08:02:22.259  INFO 1 --- [           main] o.s.b.a.w.s.WelcomePageHandlerMapping    : Adding welcome page: class path resource [static/index.html]
[flowable-ui] | 2024-08-29 08:02:22.450  INFO 1 --- [           main] u.c.s.CustomPersistentRememberMeServices : Cookie max-age set to 2678400 seconds
[flowable-ui] | 2024-08-29 08:02:22.451  INFO 1 --- [           main] u.c.s.CustomPersistentRememberMeServices : Cookie refresh age set to 86400 seconds
[flowable-ui] | 2024-08-29 08:02:22.498  INFO 1 --- [           main] liquibase.database                       : Set default schema name to public
[flowable-ui] | 2024-08-29 08:02:22.506  INFO 1 --- [           main] liquibase.lockservice                    : Successfully acquired change log lock
[flowable-ui] | 2024-08-29 08:02:22.551  INFO 1 --- [           main] liquibase.changelog                      : Reading from public.act_adm_databasechangelog
[flowable-ui] | 2024-08-29 08:02:22.561  INFO 1 --- [           main] liquibase.lockservice                    : Successfully released change log lock
[flowable-ui] | 2024-08-29 08:02:22.777  INFO 1 --- [           main] o.s.s.web.DefaultSecurityFilterChain     : Will secure Ant [pattern='/api/idm/**'] with [org.springframework.security.web.session.DisableEncodeUrlFilter@a5f5b96, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@40ab1491, org.springframework.security.web.context.SecurityContextPersistenceFilter@2a47fb5d, org.springframework.security.web.header.HeaderWriterFilter@379ddab2, org.springframework.security.web.authentication.logout.LogoutFilter@354d5692, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@2a073f4f, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@17c95612, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@544ee437, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@5345b68c, org.springframework.security.web.session.SessionManagementFilter@3acae925, org.springframework.security.web.access.ExceptionTranslationFilter@2a0cc666, org.springframework.security.web.access.intercept.FilterSecurityInterceptor@6f3b4c9a]
[flowable-ui] | 2024-08-29 08:02:22.780  INFO 1 --- [           main] o.s.s.web.DefaultSecurityFilterChain     : Will secure Ant [pattern='/*-api/**'] with [org.springframework.security.web.session.DisableEncodeUrlFilter@7942987, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@5941a2ad, org.springframework.security.web.context.SecurityContextPersistenceFilter@2d260f2a, org.springframework.security.web.header.HeaderWriterFilter@2e9f8c8f, org.springframework.security.web.authentication.logout.LogoutFilter@1e3469df, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@2a32be8d, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@79ac02a9, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@2b8502e7, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@5bf1e07, org.springframework.security.web.session.SessionManagementFilter@2cf09576, org.springframework.security.web.access.ExceptionTranslationFilter@1e295ef1, org.springframework.security.web.access.intercept.FilterSecurityInterceptor@9cabd07]
[flowable-ui] | 2024-08-29 08:02:22.782  INFO 1 --- [           main] o.s.s.web.DefaultSecurityFilterChain     : Will secure Ant [pattern='/api/editor/**'] with [org.springframework.security.web.session.DisableEncodeUrlFilter@31b846f, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@21c8dd3e, org.springframework.security.web.context.SecurityContextPersistenceFilter@5127de08, org.springframework.security.web.header.HeaderWriterFilter@3ae81b53, org.springframework.security.web.authentication.logout.LogoutFilter@1643e817, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@57be9aa4, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@259fb8f5, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@5f571d96, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@585d570e, org.springframework.security.web.session.SessionManagementFilter@4b9da2f0, org.springframework.security.web.access.ExceptionTranslationFilter@b0ff869, org.springframework.security.web.access.intercept.FilterSecurityInterceptor@4bfaa7b]
[flowable-ui] | 2024-08-29 08:02:22.785  INFO 1 --- [           main] o.s.s.web.DefaultSecurityFilterChain     : Will secure org.flowable.ui.common.security.ActuatorRequestMatcher@2381a837 with [org.springframework.security.web.session.DisableEncodeUrlFilter@7be29ac4, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@2523730b, org.springframework.security.web.context.SecurityContextPersistenceFilter@2769d577, org.springframework.security.web.header.HeaderWriterFilter@7307e418, org.springframework.security.web.authentication.logout.LogoutFilter@1b131102, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@7b0eb7e, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@25297d52, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@69c27acb, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@25c887ca, org.springframework.security.web.session.SessionManagementFilter@30d5668a, org.springframework.security.web.access.ExceptionTranslationFilter@1cb3de26, org.springframework.security.web.access.intercept.FilterSecurityInterceptor@77d5395a]
[flowable-ui] | 2024-08-29 08:02:22.844  WARN 1 --- [           main] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'springSecurityFilterChain' defined in class path resource [org/springframework/security/config/annotation/web/configuration/WebSecurityConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [javax.servlet.Filter]: Factory method 'springSecurityFilterChain' threw exception; nested exception is java.lang.NoSuchMethodError: 'void org.springframework.security.oauth2.client.web.OAuth2AuthorizationCodeGrantFilter.setSecurityContextHolderStrategy(org.springframework.security.core.context.SecurityContextHolderStrategy)'
[flowable-ui] | 2024-08-29 08:02:22.845  WARN 1 --- [           main] liquibase.database                       : Failed to restore the auto commit to true
[flowable-ui] | 2024-08-29 08:02:22.846  WARN 1 --- [           main] o.s.b.f.support.DisposableBeanAdapter    : Invocation of close method failed on bean with name 'adminLiquibase': liquibase.exception.DatabaseException: java.sql.SQLException: Connection is closed
[flowable-ui] | 2024-08-29 08:02:22.860  INFO 1 --- [           main] com.zaxxer.hikari.HikariDataSource       : flowable-ui - Shutdown initiated...
[flowable-ui] | 2024-08-29 08:02:22.876  INFO 1 --- [           main] com.zaxxer.hikari.HikariDataSource       : flowable-ui - Shutdown completed.
[flowable-ui] | 2024-08-29 08:02:22.880  INFO 1 --- [           main] o.apache.catalina.core.StandardService   : Stopping service [Tomcat]
[flowable-ui] | 2024-08-29 08:02:22.897  INFO 1 --- [           main] ConditionEvaluationReportLoggingListener :
[flowable-ui] |
[flowable-ui] | Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
[flowable-ui] | 2024-08-29 08:02:22.919 ERROR 1 --- [           main] o.s.b.d.LoggingFailureAnalysisReporter   :
[flowable-ui] |
[flowable-ui] | ***************************
[flowable-ui] | APPLICATION FAILED TO START
[flowable-ui] | ***************************
[flowable-ui] |
[flowable-ui] | Description:
[flowable-ui] |
[flowable-ui] | An attempt was made to call a method that does not exist. The attempt was made from the following location:
[flowable-ui] |
[flowable-ui] |     org.springframework.security.config.annotation.web.configurers.oauth2.client.OAuth2ClientConfigurer$AuthorizationCodeGrantConfigurer.createAuthorizationCodeGrantFilter(OAuth2ClientConfigurer.java:292)
[flowable-ui] |
[flowable-ui] | The following method did not exist:
[flowable-ui] |
[flowable-ui] |     'void org.springframework.security.oauth2.client.web.OAuth2AuthorizationCodeGrantFilter.setSecurityContextHolderStrategy(org.springframework.security.core.context.SecurityContextHolderStrategy)'
[flowable-ui] |
[flowable-ui] | The calling method's class, org.springframework.security.config.annotation.web.configurers.oauth2.client.OAuth2ClientConfigurer$AuthorizationCodeGrantConfigurer, was loaded from the following location:
[flowable-ui] |
[flowable-ui] |     jar:file:/app/WEB-INF/lib/spring-security-config-5.8.1.jar!/org/springframework/security/config/annotation/web/configurers/oauth2/client/OAuth2ClientConfigurer$AuthorizationCodeGrantConfigurer.class
[flowable-ui] |
[flowable-ui] | The called method's class, org.springframework.security.oauth2.client.web.OAuth2AuthorizationCodeGrantFilter, is available from the following locations:
[flowable-ui] |
[flowable-ui] |     jar:file:/app/WEB-INF/lib/spring-security-oauth2-client-5.7.5.jar!/org/springframework/security/oauth2/client/web/OAuth2AuthorizationCodeGrantFilter.class
[flowable-ui] |
[flowable-ui] | The called method's class hierarchy was loaded from the following locations:
[flowable-ui] |
[flowable-ui] |     org.springframework.security.oauth2.client.web.OAuth2AuthorizationCodeGrantFilter: file:/app/WEB-INF/lib/spring-security-oauth2-client-5.7.5.jar
[flowable-ui] |     org.springframework.web.filter.OncePerRequestFilter: file:/app/WEB-INF/lib/spring-web-5.3.24.jar
[flowable-ui] |     org.springframework.web.filter.GenericFilterBean: file:/app/WEB-INF/lib/spring-web-5.3.24.jar
[flowable-ui] |
[flowable-ui] |
[flowable-ui] | Action:
[flowable-ui] |
[flowable-ui] | Correct the classpath of your application so that it contains compatible versions of the classes org.springframework.security.config.annotation.web.configurers.oauth2.client.OAuth2ClientConfigurer$AuthorizationCodeGrantConfigurer and org.springframework.security.oauth2.client.web.OAuth2AuthorizationCodeGrantFilter
[flowable-ui] |

Thank you very much in advance.

Hello,

Stack trace with the same environment variables for Flowable UI v6.6.0:

Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
2024-08-29 08:04:16.131 ERROR 1 --- [           main] o.s.boot.SpringApplication               : Application run failed

org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'idmSecurityConfiguration.IdmApiWebSecurityConfigurationAdapter' defined in URL [jar:file:/app/WEB-INF/lib/flowable-ui-idm-conf-6.6.0.jar!/org/flowable/ui/idm/conf/IdmSecurityConfiguration$IdmApiWebSecurityConfigurationAdapter.class]: Unsatisfied dependency expressed through constructor parameter 2; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'org.flowable.ui.common.security.FlowableUiSecurityAutoConfiguration$OAuthWebSecurityConfigurerAdapter': Unsatisfied dependency expressed through method 'setContentNegotationStrategy' parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'org.springframework.boot.autoconfigure.web.servlet.WebMvcAutoConfiguration$EnableWebMvcConfiguration': Unsatisfied dependency expressed through method 'setConfigurers' parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'org.springframework.security.config.annotation.web.configuration.OAuth2ClientConfiguration$OAuth2ClientWebMvcSecurityConfiguration': Unsatisfied dependency expressed through method 'setClientRegistrationRepository' parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'clientRegistrationRepository' defined in class path resource [org/springframework/boot/autoconfigure/security/oauth2/client/servlet/OAuth2ClientRegistrationRepositoryConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.security.oauth2.client.registration.InMemoryClientRegistrationRepository]: Factory method 'clientRegistrationRepository' threw exception; nested exception is java.lang.IllegalArgumentException: Unable to resolve Configuration with the provided Issuer of "http://192.168.100.155:8080/realms/Flowable"
        at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:797) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]
        at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:227) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1356) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1203) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:556) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:516) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]
        at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:324) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:322) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:897) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]
        at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:879) ~[spring-context-5.2.9.RELEASE.jar:5.2.9.RELEASE]
        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:551) ~[spring-context-5.2.9.RELEASE.jar:5.2.9.RELEASE]
        at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:143) ~[spring-boot-2.3.4.RELEASE.jar:2.3.4.RELEASE]
        at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:758) ~[spring-boot-2.3.4.RELEASE.jar:2.3.4.RELEASE]
        at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:750) ~[spring-boot-2.3.4.RELEASE.jar:2.3.4.RELEASE]
        at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:397) ~[spring-boot-2.3.4.RELEASE.jar:2.3.4.RELEASE]
        at org.springframework.boot.SpringApplication.run(SpringApplication.java:315) ~[spring-boot-2.3.4.RELEASE.jar:2.3.4.RELEASE]
        at org.springframework.boot.SpringApplication.run(SpringApplication.java:1237) ~[spring-boot-2.3.4.RELEASE.jar:2.3.4.RELEASE]
        at org.springframework.boot.SpringApplication.run(SpringApplication.java:1226) ~[spring-boot-2.3.4.RELEASE.jar:2.3.4.RELEASE]
        at org.flowable.ui.application.FlowableUiApplication.main(FlowableUiApplication.java:27) ~[classes/:na]
Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'org.flowable.ui.common.security.FlowableUiSecurityAutoConfiguration$OAuthWebSecurityConfigurerAdapter': Unsatisfied dependency expressed through method 'setContentNegotationStrategy' parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'org.springframework.boot.autoconfigure.web.servlet.WebMvcAutoConfiguration$EnableWebMvcConfiguration': Unsatisfied dependency expressed through method 'setConfigurers' parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'org.springframework.security.config.annotation.web.configuration.OAuth2ClientConfiguration$OAuth2ClientWebMvcSecurityConfiguration': Unsatisfied dependency expressed through method 'setClientRegistrationRepository' parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'clientRegistrationRepository' defined in class path resource [org/springframework/boot/autoconfigure/security/oauth2/client/servlet/OAuth2ClientRegistrationRepositoryConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.security.oauth2.client.registration.InMemoryClientRegistrationRepository]: Factory method 'clientRegistrationRepository' threw exception; nested exception is java.lang.IllegalArgumentException: Unable to resolve Configuration with the provided Issuer of "http://192.168.100.155:8080/realms/Flowable"
        at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredMethodElement.inject(AutowiredAnnotationBeanPostProcessor.java:723) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]
        at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:130) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]
        at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessProperties(AutowiredAnnotationBeanPostProcessor.java:399) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1420) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:593) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:516) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]
        at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:324) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:322) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]
        at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:408) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1336) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1176) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:556) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:516) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]
        at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:324) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:322) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]
        at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:276) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1307) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1227) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]
        at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:884) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]
        at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:788) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]
        ... 20 common frames omitted
Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'org.springframework.boot.autoconfigure.web.servlet.WebMvcAutoConfiguration$EnableWebMvcConfiguration': Unsatisfied dependency expressed through method 'setConfigurers' parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'org.springframework.security.config.annotation.web.configuration.OAuth2ClientConfiguration$OAuth2ClientWebMvcSecurityConfiguration': Unsatisfied dependency expressed through method 'setClientRegistrationRepository' parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'clientRegistrationRepository' defined in class path resource [org/springframework/boot/autoconfigure/security/oauth2/client/servlet/OAuth2ClientRegistrationRepositoryConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.security.oauth2.client.registration.InMemoryClientRegistrationRepository]: Factory method 'clientRegistrationRepository' threw exception; nested exception is java.lang.IllegalArgumentException: Unable to resolve Configuration with the provided Issuer of "http://192.168.100.155:8080/realms/Flowable"
        at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredMethodElement.inject(AutowiredAnnotationBeanPostProcessor.java:723) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]
        at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:130) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]
        at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessProperties(AutowiredAnnotationBeanPostProcessor.java:399) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1420) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:593) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:516) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]
        at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:324) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:322) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]
        at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:408) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1336) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1176) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:556) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:516) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]
        at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:324) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:322) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]
        at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:276) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1307) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1227) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]
        at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredMethodElement.inject(AutowiredAnnotationBeanPostProcessor.java:715) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]
        ... 43 common frames omitted
Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'org.springframework.security.config.annotation.web.configuration.OAuth2ClientConfiguration$OAuth2ClientWebMvcSecurityConfiguration': Unsatisfied dependency expressed through method 'setClientRegistrationRepository' parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'clientRegistrationRepository' defined in class path resource [org/springframework/boot/autoconfigure/security/oauth2/client/servlet/OAuth2ClientRegistrationRepositoryConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.security.oauth2.client.registration.InMemoryClientRegistrationRepository]: Factory method 'clientRegistrationRepository' threw exception; nested exception is java.lang.IllegalArgumentException: Unable to resolve Configuration with the provided Issuer of "http://192.168.100.155:8080/realms/Flowable"
        at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredMethodElement.inject(AutowiredAnnotationBeanPostProcessor.java:723) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]
        at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:130) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]
        at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessProperties(AutowiredAnnotationBeanPostProcessor.java:399) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1420) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:593) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:516) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]
        at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:324) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:322) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]
        at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:276) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.addCandidateEntry(DefaultListableBeanFactory.java:1525) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1489) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveMultipleBeans(DefaultListableBeanFactory.java:1378) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1265) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1227) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]
        at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredMethodElement.inject(AutowiredAnnotationBeanPostProcessor.java:715) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]
        ... 65 common frames omitted
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'clientRegistrationRepository' defined in class path resource [org/springframework/boot/autoconfigure/security/oauth2/client/servlet/OAuth2ClientRegistrationRepositoryConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.security.oauth2.client.registration.InMemoryClientRegistrationRepository]: Factory method 'clientRegistrationRepository' threw exception; nested exception is java.lang.IllegalArgumentException: Unable to resolve Configuration with the provided Issuer of "http://192.168.100.155:8080/realms/Flowable"
        at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:655) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]
        at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:635) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1336) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1176) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:556) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:516) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]
        at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:324) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:322) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]
        at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:276) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.addCandidateEntry(DefaultListableBeanFactory.java:1525) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1489) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveMultipleBeans(DefaultListableBeanFactory.java:1378) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1265) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1227) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]
        at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredMethodElement.inject(AutowiredAnnotationBeanPostProcessor.java:715) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]
        ... 81 common frames omitted
Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.security.oauth2.client.registration.InMemoryClientRegistrationRepository]: Factory method 'clientRegistrationRepository' threw exception; nested exception is java.lang.IllegalArgumentException: Unable to resolve Configuration with the provided Issuer of "http://192.168.100.155:8080/realms/Flowable"
        at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:185) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]
        at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:650) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]
        ... 97 common frames omitted
Caused by: java.lang.IllegalArgumentException: Unable to resolve Configuration with the provided Issuer of "http://192.168.100.155:8080/realms/Flowable"
        at org.springframework.security.oauth2.client.registration.ClientRegistrations.getBuilder(ClientRegistrations.java:204) ~[spring-security-oauth2-client-5.3.4.RELEASE.jar:5.3.4.RELEASE]
        at org.springframework.security.oauth2.client.registration.ClientRegistrations.fromIssuerLocation(ClientRegistrations.java:138) ~[spring-security-oauth2-client-5.3.4.RELEASE.jar:5.3.4.RELEASE]
        at org.springframework.boot.autoconfigure.security.oauth2.client.OAuth2ClientPropertiesRegistrationAdapter.getBuilderFromIssuerIfPossible(OAuth2ClientPropertiesRegistrationAdapter.java:83) ~[spring-boot-autoconfigure-2.3.4.RELEASE.jar:2.3.4.RELEASE]
        at org.springframework.boot.autoconfigure.security.oauth2.client.OAuth2ClientPropertiesRegistrationAdapter.getClientRegistration(OAuth2ClientPropertiesRegistrationAdapter.java:59) ~[spring-boot-autoconfigure-2.3.4.RELEASE.jar:2.3.4.RELEASE]
        at org.springframework.boot.autoconfigure.security.oauth2.client.OAuth2ClientPropertiesRegistrationAdapter.lambda$getClientRegistrations$0(OAuth2ClientPropertiesRegistrationAdapter.java:53) ~[spring-boot-autoconfigure-2.3.4.RELEASE.jar:2.3.4.RELEASE]
        at java.base/java.util.HashMap.forEach(Unknown Source) ~[na:na]
        at org.springframework.boot.autoconfigure.security.oauth2.client.OAuth2ClientPropertiesRegistrationAdapter.getClientRegistrations(OAuth2ClientPropertiesRegistrationAdapter.java:52) ~[spring-boot-autoconfigure-2.3.4.RELEASE.jar:2.3.4.RELEASE]
        at org.springframework.boot.autoconfigure.security.oauth2.client.servlet.OAuth2ClientRegistrationRepositoryConfiguration.clientRegistrationRepository(OAuth2ClientRegistrationRepositoryConfiguration.java:49) ~[spring-boot-autoconfigure-2.3.4.RELEASE.jar:2.3.4.RELEASE]
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:na]
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[na:na]
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[na:na]
        at java.base/java.lang.reflect.Method.invoke(Unknown Source) ~[na:na]
        at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:154) ~[spring-beans-5.2.9.RELEASE.jar:5.2.9.RELEASE]
        ... 98 common frames omitted
Caused by: java.lang.RuntimeException: com.nimbusds.oauth2.sdk.ParseException: Unexpected type of JSON object member with key "mtls_endpoint_aliases"
        at org.springframework.security.oauth2.client.registration.ClientRegistrations.parse(ClientRegistrations.java:216) ~[spring-security-oauth2-client-5.3.4.RELEASE.jar:5.3.4.RELEASE]
        at org.springframework.security.oauth2.client.registration.ClientRegistrations.lambda$oidc$0(ClientRegistrations.java:148) ~[spring-security-oauth2-client-5.3.4.RELEASE.jar:5.3.4.RELEASE]
        at org.springframework.security.oauth2.client.registration.ClientRegistrations.getBuilder(ClientRegistrations.java:195) ~[spring-security-oauth2-client-5.3.4.RELEASE.jar:5.3.4.RELEASE]
        ... 110 common frames omitted
Caused by: com.nimbusds.oauth2.sdk.ParseException: Unexpected type of JSON object member with key "mtls_endpoint_aliases"
        at com.nimbusds.oauth2.sdk.util.JSONObjectUtils.getGeneric(JSONObjectUtils.java:133) ~[oauth2-oidc-sdk-7.1.1.jar:7.1.1]
        at com.nimbusds.oauth2.sdk.util.JSONObjectUtils.getJSONObject(JSONObjectUtils.java:829) ~[oauth2-oidc-sdk-7.1.1.jar:7.1.1]
        at com.nimbusds.oauth2.sdk.as.AuthorizationServerMetadata.parse(AuthorizationServerMetadata.java:1695) ~[oauth2-oidc-sdk-7.1.1.jar:7.1.1]
        at com.nimbusds.openid.connect.sdk.op.OIDCProviderMetadata.parse(OIDCProviderMetadata.java:1190) ~[oauth2-oidc-sdk-7.1.1.jar:7.1.1]
        at org.springframework.security.oauth2.client.registration.ClientRegistrations.parse(ClientRegistrations.java:214) ~[spring-security-oauth2-client-5.3.4.RELEASE.jar:5.3.4.RELEASE]
        ... 112 common frames omitted

exit code: 1

Thank you very much in advance.

Can you add DEBUG=true to the environment and re-run. There is some information missing without that.

Hello,

Here’s the stack trace with the DEBUG=true for Flowable UI v6.8.0 in a Docker Compose environment. The log output is too big, so we had to use external services to publish it.

Thank you very much in advance.

Thanks @cookie_12,

From what I can see the flowable-ui application is not working with OAuth2. There is not much that you can do to configure this. You’ll have to build your own application to make this work. From what I could see 6.8.1 had the same problem.

Cheers,
Filip

Hello,

In the meantime we’ve found another third-party docker image (flowable-ui v6.8.1.1) which doesn’t have the reported errors, initial Keycloak integration and login works, but once we login into the Flowable UI everything is empty and no action is possible.

You’ll have to build your own application to make this work

What do you exactly mean by this - should we instead try to find another way how to authenticate, outside of Flowable and Keycloak ?

Regarding Flowable 7, are there any Open Source Flowable 7 components which we can try ? Doesn’t matter if it’s published as a Docker image or not.

Thank you very much in advance.

I mean to create you own Flowable Spring Boot application that will use the starters that we have.

I’ve shared the flowable-rest image twice already. You can use this for interacting with the Flowable REST API.

Cheers,
Filip

Hello,

Yes sure, but apart from the Flowable 7 REST API, are there any other Open Source components for Flowable 7 like for example Flowable UI (or however the new module or components is renamed, designed etc) ?

Thank you very much.

Hi @cookie_12,

you can use the Flowable Modeling application Flowable Design for free. More details about what the release includes can be found in the blog post about the 7.0 release.

Valentin