[filter:cors]
paste.filter_factory = oslo_middleware.cors:filter_factory
oslo_config_project = neutron
-latent_allow_headers = X-Auth-Token, X-Openstack-Request-Id
-latent_expose_headers = X-Auth-Token, X-Openstack-Request-Id
+latent_allow_headers = X-Auth-Token, X-Identity-Status, X-Roles, X-Service-Catalog, X-User-Id, X-Tenant-Id, X-OpenStack-Request-ID
+latent_expose_headers = X-Auth-Token, X-Subject-Token, X-Service-Token, X-OpenStack-Request-ID
latent_allow_methods = GET, PUT, POST, DELETE, PATCH
[filter:keystonecontext]
# by the browser.
app = cors.CORS(app, cfg.CONF)
app.set_latent(
- allow_headers=['X-Auth-Token', 'X-Openstack-Request-Id'],
+ allow_headers=['X-Auth-Token', 'X-Identity-Status', 'X-Roles',
+ 'X-Service-Catalog', 'X-User-Id', 'X-Tenant-Id',
+ 'X-OpenStack-Request-ID'],
allow_methods=['GET', 'PUT', 'POST', 'DELETE', 'PATCH'],
- expose_headers=['X-Auth-Token', 'X-Openstack-Request-Id']
+ expose_headers=['X-Auth-Token', 'X-Subject-Token', 'X-Service-Token',
+ 'X-OpenStack-Request-ID']
)
return app