Comment 9 for bug 1349364

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to keystonemiddleware (master)

Reviewed: https://review.openstack.org/119261
Committed: https://git.openstack.org/cgit/openstack/keystonemiddleware/commit/?id=563991136646eb6d913e94e482323966b0393db2
Submitter: Jenkins
Branch: master

commit 563991136646eb6d913e94e482323966b0393db2
Author: Jamie Lennox <email address hidden>
Date: Thu Sep 4 17:58:49 2014 +1000

    Always add auth URI to unauthorized requests

    For those services that use delay_auth_decision we need to support
    adding the keystone URI rejection headers to the response in a uniform
    way. I feel this should be more generic and that every 401 response
    should contain this header.

    Create a WSGI wrapper so that if a 401 is ever returned through
    auth_token middleware we can add an additional WWW-Authenticate header.

    Closes-Bug: #1349364
    Change-Id: Ib5231a09fd5c6cb6cd17f07c87e982d2e8fde2bf