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

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 Join to answer
Community showcase
Louis De Jaeger
Posted Thursday in Off-topic

Friday fun: your best joke

Hi all Lets make this Friday fun really fun and post one (or more) of your best jokes! The joke can be about an Atlassian product, or just a really fun joke you want to share! I’m not the best j...

187 views 12 3
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot