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

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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jul 10, 2018 in Confluence

We want to see the templates you've created in Confluence!

Hi Community, Jessica here from the Confluence Product Marketing team!  July’s community challenge is all about sharing pictures  — and as an extension of our first post on what ...

1,039 views 23 13
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