websso does not prepend WEBROOT to redirect URL

Bug #1444244 reported by Adam Young on 2015-04-15
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
django-openstack-auth
Medium
Adam Young

Bug Description

Set up WebSSO, but on a system using WEBROOT and the Horizon site was running under /dashboard. Websso works correctly up until the Keystone Javascript tries to post the token back to Horizon, and gets a 404.

It is posting to hostname/auth/websso, not to hostname/dashboard/auth/websso

One fix is to use WEBROOT when generating the redirect URL.

Fix proposed to branch: master
Review: https://review.openstack.org/173669

Changed in django-openstack-auth:
assignee: nobody → Adam Young (ayoung)
status: New → In Progress
Changed in django-openstack-auth:
assignee: Adam Young (ayoung) → Lin Hua Cheng (lin-hua-cheng)
Changed in django-openstack-auth:
assignee: Lin Hua Cheng (lin-hua-cheng) → Adam Young (ayoung)

Reviewed: https://review.openstack.org/173669
Committed: https://git.openstack.org/cgit/openstack/django_openstack_auth/commit/?id=85b2aaea489f2e89e36bc08b99216939d8076462
Submitter: Jenkins
Branch: master

commit 85b2aaea489f2e89e36bc08b99216939d8076462
Author: Adam Young <email address hidden>
Date: Tue Apr 14 23:44:56 2015 -0400

    Prepend WEBROOT to redirect URL for WebSSO

    Change-Id: Ib5c99e3b7b16bfb64b651d2129643d6f53fe7722
    Closes-Bug: 1444244

Changed in django-openstack-auth:
status: In Progress → Fix Committed
Adam Young (ayoung) on 2015-07-07
description: updated
description: updated
David Lyle (david-lyle) on 2015-07-15
Changed in django-openstack-auth:
importance: Undecided → Medium
David Lyle (david-lyle) on 2015-07-15
Changed in django-openstack-auth:
status: Fix Committed → Fix Released

Reviewed: https://review.openstack.org/200686
Committed: https://git.openstack.org/cgit/openstack/django_openstack_auth/commit/?id=3f1eb3f3c6e3fbf8bff010d76362558f7e22b721
Submitter: Jenkins
Branch: stable/kilo

commit 3f1eb3f3c6e3fbf8bff010d76362558f7e22b721
Author: Adam Young <email address hidden>
Date: Tue Apr 14 23:44:56 2015 -0400

    Prepend WEBROOT to redirect URL for WebSSO

    Change-Id: Ib5c99e3b7b16bfb64b651d2129643d6f53fe7722
    Closes-Bug: 1444244
    (cherry picked from commit 85b2aaea489f2e89e36bc08b99216939d8076462)

tags: added: in-stable-kilo

This issue was fixed in the openstack/django_openstack_auth 1.2.1 release.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers