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

This widget could not be displayed.

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.

This widget could not be displayed.

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 Monday in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

293 views 2 4
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