08f879649b
This patch allows deployers to add arbitrary headers to Keystone responses. This can be handy for CORS or for passing certain headers through nginx to the requester. Closes-Bug: 1695827 Change-Id: I8f838ecce118cb36081b98f483ddef465ddbae3f
16 lines
462 B
YAML
16 lines
462 B
YAML
---
|
|
features:
|
|
- |
|
|
Extra headers can be added to Keystone responses by adding items to
|
|
``keystone_extra_headers``. Example:
|
|
|
|
.. code-block:: yaml
|
|
|
|
keystone_extra_headers:
|
|
- parameter: "Access-Control-Expose-Headers"
|
|
value: "X-Subject-Token"
|
|
- parameter: "Access-Control-Allow-Headers"
|
|
value: "Content-Type, X-Auth-Token"
|
|
- parameter: "Access-Control-Allow-Origin"
|
|
value: "*"
|