Remote logins from external dashboard CORS

I have a dashboard, with multiple users, and I would like to log them into icinga2 web. We have these multiple users setup in icinga with roles and access to their restricted set of hosts etc.

I can’t figure out how to modify CORS used by the icinga2 web (not the API), to allow cross posts from the dashboard.

Icinga Web 2 Version 2.10.1
icinga2 (version: r2.13.3-1)
PHP 7.3.33
CentOS 7

I found this but it isn’t helpful:

The CORS attributes access_control_allow_credentials , access_control_allow_headers and access_control_allow_methods are now controlled by Icinga 2 and cannot be changed anymore.