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?
The kind folks at AppFire helped me figure out the issue.
The solution is:
<action name="logout" class="com.atlassian.confluence.user.actions.LogoutAction"> <interceptor-ref name="defaultStack"/> <!-- <result name="error" type="velocity">/logout.vm</result> --> <!-- <result name="success" type="redirect">/login.action?logout=true</result> --> <result name="success" type="redirect">https://www.mysite.com</result> </action>
Hi Michael, two things come to my mind now. You may either edit your seraph-config.xml and edit this portion:
<init-param> <param-name>link.login.url</param-name> <param-value>/login.action</param-value> </init-param>
I hope it helps.
Thanks for your quick response!
I tried the urlrewrite.xml file change and added the lines
<rule> <from>^/login.action?logout=true$</from> <to type="redirect">/dashboard.action</to> </rule>
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
<init-param> <param-name>logout.url</param-name> <param-value>/</param-value> </init-param>
Am I missing something?
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!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG