It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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
Answer 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;;/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

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 in Marketplace Apps & Integrations

Expose your beautifully crafted Dashboard through the Jira Service Desk Customer Portal

  A picture is worth a thousand words, especially when you're trying to find relationships and understand your data. Here, Dashboards play a vital role in gaining insights from a variety of dat...

344 views 5 4
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you