Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device. Atlassian cookies and tracking notice, (opens new window)
Logout page does not auto-redirect to default action
Basics
Technical
Logistics
Basics
Technical
Logistics
Description
Hi,
On earlier IdP versions, the logout page automatically redirected to a default action (global logout) after 10 seconds - this was achieved via an http-equiv="refresh"meta element in the HTML header.
On IdPv4, the logout page no longer does the automatic redirect - the http-equiv="refresh"meta element is not present in the HTML header.
I can see that in views/logout.vm, this code emitting the redirect has been commented out. I can trace it to commit 1a45cb8fad - adding support for Cancel Logout action and various other improvements, under IDP-929.
However, the wording on the page still says:
Choose one of the following, or wait a few seconds for the default.
So the wording presented to the user does not match the behaviour - either the redirect code should be uncommented, or the wording should be changed.
Fixed (again) on both branches, in case a 4.3 patch ever comes along.
Scott Cantor
January 23, 2023 at 8:04 PM
I believe this was reverted accidentally by the accessibility changes, so I need to review exactly how it’s meant to behave and what the idp.logout.promptUser property was meant to do, and then I can remove the comments and re-fix the bug.
Scott Cantor
January 23, 2023 at 7:39 PM
I'm completely confused by this issue but I think this fix may have been reverted at some point. Need to review history.
Scott Cantor
September 30, 2020 at 10:33 PM
Thanks, I'll resolve before next release that way.
Hi,
On earlier IdP versions, the logout page automatically redirected to a default action (global logout) after 10 seconds - this was achieved via an
http-equiv="refresh"
meta
element in the HTML header.On IdPv4, the logout page no longer does the automatic redirect - the
http-equiv="refresh"
meta
element is not present in the HTML header.I can see that in
views/logout.vm
, this code emitting the redirect has been commented out. I can trace it to commit 1a45cb8fad - adding support for Cancel Logout action and various other improvements, under IDP-929.However, the wording on the page still says:
Choose one of the following, or wait a few seconds for the default.
So the wording presented to the user does not match the behaviour - either the redirect code should be uncommented, or the wording should be changed.
Cheers,
Vlad