I migrated a cuba app to jmix.
The openid Connect add on is used to authenticate with keycloak.
Now I have a problem with Application Properties and Scheduled Task menu.
There I get the error:
java.lang.RuntimeException: Authentication type is not supported: org.springframework.security.oauth2.client.authentication.OAuth2AuthenticationToken
at com.haulmont.cuba.core.global.impl.UserSessionSourceImpl.updateUserSessionFromAuthentication(UserSessionSourceImpl.java:101)
at com.haulmont.cuba.core.global.impl.UserSessionSourceImpl.getUserSession(UserSessionSourceImpl.java:65)
at com.haulmont.cuba.gui.data.impl.AbstractCollectionDatasource.(AbstractCollectionDatasource.java:79)
at com.haulmont.cuba.gui.data.impl.CollectionDatasourceImpl.(CollectionDatasourceImpl.java:82)
How can i use the openid addon and get also the cuba application properties screen to work.