# Changing the Destination of the Logout Link

#### Still need help?

The Atlassian Community is here for you.

This page describes how to customise the destination of the logout page, for integration with a Single Sign On framework.

The content on this page relates to platforms that are not supported for Confluence. Consequently, Atlassian can not guarantee providing any support for the steps described on this page. Please be aware that this material is provided for your information only, and that you use it at your own risk.

To configure a new logout, redirect by changing the way Confluence handles the logout action:

1. un-jar the confluence-x.y.z.jar file in \$confluence-install/confluence/WEB-INF/lib, to another location. You can use a standard zip application or the java -jar command
Alternative to un-jar-ing, edit the xwork.xml directly in the jar file
2. Locate xwork.xml.
3. Change the behavior of logout.action by altering these lines:

<!-- <result name="success" type="velocity">/logout.vm</result> -->
<!-- CAS:START - CAS Logout Redirect -->
<result name="success" type="redirect">https://cas.institution.edu/cas/logout</result>
<!-- CAS:END -->

4. Re-jar the files if you extracted them in Step 1

This example is taken from a CAS customization. What was done here was to comment out the regular success action: /logout.vm, and instead replace it with a redirect to the your custom logout page.