SSO and logout.action need to point to another logout url

Jaime Romaguera
Contributor
March 25, 2012

Hi,

We are are using confluence 3.5.13 with custom SSO, we want to make the logout in confluence use a different url e.g https://company.com/web/logout.htm instead of http://wiki.company.com/logout.action.

I tried what was suggested in this link http://confluence.atlassian.com/display/CONFKB/Changing+the+Destination+of+the+Logout+Link

But it didn't work, wondering if there something I am missing?

We are using Linux Redhat Linux 2.6.18-274.el5 with Tomcat 6.033

Regards

Jaime

2 answers

1 accepted

0 votes
Answer accepted
Denise Unterwurzacher [Atlassian]
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 27, 2012

The documentation was missing the crucial final step - you need to re-jar the files once the change has been made.

The alternative (if your system allows it, most Linux systems do but I'm unsure about Windows) is to edit the xml file directly in the jar. Either way, the application won't pick up the xml file if it's directly in lib/, it needs to be in the jar.

I've updated the documentation to reflect this.

0 votes
rbalusu3 July 13, 2018

Instead of updating server files , the following script will work. add the below script in 

generate configuration->look & feel->Coding HTML

 

<script>
if(jQuery('#header-details-user-fullname').text().indexOf(" ") ==-1 && window.location.href.indexOf("/login.action?logout=true") != -1)
{ window.location = contextPath+"/your Logout page"}
</script>

It worked fine for me

Kevin Suter
Contributor
March 18, 2019

Thank you. Still works with Confluence 6.14.1.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events