did you solve your issue?
this is my security config
        http
                .authorizeRequests()
                .antMatchers("/actuator/**").permitAll().and()
                .csrf().ignoringAntMatchers("/app/**").and()
                .authorizeRequests(
                        authorizeRequests ->
                                authorizeRequests
                                        .antMatchers("/*-api/**", , "/app/**").permitAll()  // would get 401 on engines in admin panel without this????
                                        .anyRequest()
                                        .authenticated()
                )
                .oauth2Login(oauthLogin -> oauthLogin.permitAll())  //redirect to login if no token or session is provided
                .oauth2ResourceServer().jwt();
        http.logout()
                .logoutRequestMatcher(new AntPathRequestMatcher("/app/logout"))
                .logoutSuccessHandler(keycloakLogoutHandler);
             
I know it doesn’t make much sense this config but at least I can see see and use all ui components with this on my local but on dev  I get
angular.js:9827          GET <my-prod-url>/app/rest/account 500
anyone know how to solve this?