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

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
Accepted answer

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.

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

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Oct 24, 2018 in Confluence

Atlassian Research opportunity with Confluence templates

Do you use templates with Confluence? Take part in a remote 1-hr workshop. You'll receive USD $100 for your time!   We're looking for people to participate in a   remote 1-hr workshop...

1,099 views 17 14
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you