Added tokenless auth headers to CORS middleware

This adds the headers necessary for tokenless auth to the latent
configuration parameters of oslo's CORS middleware. It ensures
that an operator does not have to know additional magic
configuration properties just to make auth work.

Change-Id: Ibac1937e97b65afca337b42837253a4a3dec6a40
This commit is contained in:
Michael Krotscheck 2016-02-10 11:41:18 -08:00
parent 55b056fa9e
commit 96b5ca01f7
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ use = egg:keystone#json_body
[filter:cors]
use = egg:oslo.middleware#cors
oslo_config_project = keystone
latent_allow_headers = X-Auth-Token, X-Openstack-Request-Id, X-Subject-Token
latent_allow_headers = X-Auth-Token, X-Openstack-Request-Id, X-Subject-Token, X-Project-Id, X-Project-Name, X-Project-Domain-Id, X-Project-Domain-Name, X-Domain-Id, X-Domain-Name
latent_expose_headers = X-Auth-Token, X-Openstack-Request-Id, X-Subject-Token
latent_allow_methods = GET, PUT, POST, DELETE, PATCH