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>
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?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Tiago,
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?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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>
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.
Cheers
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.