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

This widget could not be displayed.

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
This widget could not be displayed.

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.


This widget could not be displayed.

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?

This widget could not be displayed.

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
Posted yesterday in United States

Local Atlassian Research Workshop opportunity on Sep. 28th

We're looking for participants for another workshop at Atlassian! We need Jira admins who have interesting custom workflows, issue views, or boards. Think you have a story to sh...

34 views 0 0
View post

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