check if oauth headers are available before creating request token

Bug #1420121 reported by Steve Martinelli
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Identity (keystone)
Fix Released
Low
Steve Martinelli

Bug Description

Before continuing to create a request token, and making assumptions that all the headers are there; and giving a poor error message when they are not. We should have a better check, and one that advises the user to change their Apache config, since that is likely the problem.

Changed in keystone:
assignee: nobody → Steve Martinelli (stevemar)
status: New → In Progress
Revision history for this message
Steve Martinelli (stevemar) wrote :
Changed in keystone:
milestone: none → kilo-3
importance: Undecided → Low
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to keystone (master)

Reviewed: https://review.openstack.org/142191
Committed: https://git.openstack.org/cgit/openstack/keystone/commit/?id=4f7d17b4bd94cc4c2e9beef49eb823aab8c3a234
Submitter: Jenkins
Branch: master

commit 4f7d17b4bd94cc4c2e9beef49eb823aab8c3a234
Author: Steve Martinelli <email address hidden>
Date: Tue Dec 16 14:06:58 2014 -0500

    Provide additional detail if OAuth headers are missing

    If WSGIPassAuthorization is not set correctly, the user gets back
    an obscure message, since the code continues and tries to get
    values from a None object.

    This change brings a proper exception for this configuration issue
    and lets the user know what to fix.

    Closes-Bug: #1420121

    Change-Id: Iee282383a67ec13b5bfb5267fe9d81124c5e289d

Changed in keystone:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in keystone:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in keystone:
milestone: kilo-3 → 2015.1.0
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.