In some case Cross-origin resource sharing (CORS) is required on some REST API to work with certain applications.
All of this configuration have can be done easly since Liberty version of Openstack and was not yet supported in previous version (at least in this way).
Since Liberty, we can use the oslo.middleware CORS middleware without waiting it’s CORS integration into a Openstack application.
Note that on my example, my Grafana server is http://my-grafana-ipdomain:3000.
On Keystone side
Add a new filter to the paste configuration in /etc/keystone/keystone-paste.ini:
[filter:cors] paste.filter_factory = oslo_middleware.cors:CORS.factory oslo_config_project = keystone # This should be not required, see: https://bugs.launchpad.net/oslo.middleware/+bug/1491293 allowed_origin ...