LOGOUT_URL setting has no effect

Bug #1747149 reported by Kristi Nikolla
28
This bug affects 6 people
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Fix Released
Medium
Marek Lyčka

Bug Description

Setting LOGOUT_URL in `etc/openstack-dashboard/local_settings.py` has no effect on the URL displayed in the dropdown menu. It still points to `/dashboard/auth/logout/`.

Setting this value is important when using SSO so as to redirect the user to the SSO logout page, and then having that page redirect the user back to `/dashboard/auth/logout/` to unset the session cookies.

I'm currently doing a workaround where I alias that path in the apache configuration, unset the headers, and redirect the user to my SSO logout page.

Ivan Kolodyazhny (e0ne)
Changed in horizon:
status: New → Confirmed
importance: Undecided → Medium
Ivan Kolodyazhny (e0ne)
Changed in horizon:
milestone: none → rocky-1
Ivan Kolodyazhny (e0ne)
Changed in horizon:
assignee: nobody → Ivan Kolodyazhny (e0ne)
Akihiro Motoki (amotoki)
Changed in horizon:
milestone: rocky-1 → rocky-2
Ivan Kolodyazhny (e0ne)
Changed in horizon:
assignee: Ivan Kolodyazhny (e0ne) → nobody
milestone: rocky-2 → none
Revision history for this message
Valery Tschopp (valery-tschopp) wrote :

In our production we are using the SAML2 SSO login.

It is very important to be able to correctly logout from the SAML Identity Provider (same case for OpenID) when the user logs out of Horizon.

Can you please fix this issue.

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

Fix proposed to branch: master
Review: https://review.opendev.org/683347

Changed in horizon:
assignee: nobody → Marek Lyčka (mareklycka)
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (master)

Reviewed: https://review.opendev.org/683347
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=a11aa7ff62c15d7bf15367106f933ef0ae5d4521
Submitter: Zuul
Branch: master

commit a11aa7ff62c15d7bf15367106f933ef0ae5d4521
Author: Marek <email address hidden>
Date: Fri Sep 20 09:46:03 2019 +0200

    Forwards LOGOUT_URL to templates.

    Uses the openstack context preprocessor to pass
    the LOGOUT_URL from settings to templates and
    changes the 'Sign out' menu entry to redirect to it
    instead of the logout view directly.

    closes-bug: #1747149
    Change-Id: Id17ffca6b5e24779433c3f19d009bb2a77f7b901

Changed in horizon:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/horizon 17.0.0

This issue was fixed in the openstack/horizon 17.0.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to horizon (stable/train)

Fix proposed to branch: stable/train
Review: https://review.opendev.org/714920

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (stable/train)

Reviewed: https://review.opendev.org/714920
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=a1afb5046721ab57fc0af9d62400c4a21647e1f4
Submitter: Zuul
Branch: stable/train

commit a1afb5046721ab57fc0af9d62400c4a21647e1f4
Author: Marek <email address hidden>
Date: Fri Sep 20 09:46:03 2019 +0200

    Forwards LOGOUT_URL to templates.

    Uses the openstack context preprocessor to pass
    the LOGOUT_URL from settings to templates and
    changes the 'Sign out' menu entry to redirect to it
    instead of the logout view directly.

    closes-bug: #1747149
    Change-Id: Id17ffca6b5e24779433c3f19d009bb2a77f7b901
    (cherry picked from commit a11aa7ff62c15d7bf15367106f933ef0ae5d4521)

tags: added: in-stable-train
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.