CORS settings are automatically applied to the following URLs:
URL patterns defined in jmix.rest.authenticated-url-patterns property.
In order to replace the default CORS configuration provided by Jmix, register a bean with the
corsConfigurationSource name in your project. In this case, the properties mentioned above will not work.
Refer to Spring Security Documentation for more information on CORS.