I have implemented the "SAML Single SignOn" addon in our Confluence Development environment.

When logging out of Confluence, I am returned back to the out of the box logon screen rather than the SAML provided logon screen.

How do configure the system to redirect the user to the SAML provided logon screen when they logout?

4 answers

1 accepted

0 votes
Accepted answer

The kind folks at AppFire helped me figure out the issue.

The solution is:

  1. Go to <Confluence-Installation-Directory>/confluence/WEB-INF/lib/
  2. Create a directory and un-jar the confluence-x.x.x.jar [ Where x stands for your confluence version ]
  3. Edit xwork.xml
  4. &lt;action name="logout" class="com.atlassian.confluence.user.actions.LogoutAction"&gt; 
         &lt;interceptor-ref name="defaultStack"/&gt;
         &lt;!-- &lt;result name="error" type="velocity"&gt;/logout.vm&lt;/result&gt; --&gt;
         &lt;!-- &lt;result name="success" type="redirect"&gt;/login.action?logout=true&lt;/result&gt; --&gt;
         &lt;result name="success" type="redirect"&gt;https://www.mysite.com&lt;/result&gt;

  5. Rename the old confluence-x.x.x.jar file and copy the newly created one from directory confluence-redirect to <Confluence-Installation-Directory>/confluence/WEB-INF/lib

Hi Michael, two things come to my mind now. You may either edit your seraph-config.xml and edit this portion:


Or create a rule into the file urlrewrite.xml to redirect http://<confluence_url>/login.action?logout=true to your URL.

I hope it helps.


Hi Tiago,

Thanks for your quick response!

I tried the urlrewrite.xml file change and added the lines

        &lt;to type="redirect"&gt;/dashboard.action&lt;/to&gt;

I restarted the Confluence services, but upon logout, I am still being directed to https://mysite.com/login.action?logout=true

I also tried the seraph-config.xml route, but there wasn't a section for logout.url. I added the following lines and restarted the service, but the results remained unchanged


Am I missing something?

I guys,

Any luck on this? I have the same issues regarding confluence 5.5.2. Anyway we can configure seraph-config.xml to logout and redirect to another url?

Suggest an answer

Log in or Sign up to answer
Community showcase
Published yesterday in Statuspage

194 years of downtime: looking back on incident data from 2018

Statuspage customers logged more than 194 years of collective incidents in 2018. That’s a whopping 87% increase from the  104 years logged in 2017 , and we aren’t even through December yet....

56 views 1 5
Read article

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