Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-4931

Confluence is not using the seraph logout url to define how to log out.

      We need to update our use of seraph to delegate the definition of the logout url to seraph-config.xml

      Workaround for Confluence 5.7.2 and older

      1. Find and copy <confluence_install>/confluence/WEB-INF/lib/confluence-x.x.x.jar to a temp location (with "x.x.x" representing your Confluence version number)
      2. Extract the file: jar -xf confluence-x.x.x.jar
      3. Open xwork.xml in an editor and locate this section:
        <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>
                </action>
        
      4. Replace the redirect URL for success result to the desired URL, e.g.:
                    <result name="success" type="redirect">/my_custom_url.html</result>
        
      5. Save the file, and copy it to <confluence_install>/confluence/WEB-INF/classes/
      6. Restart Confluence

            [CONFSERVER-4931] Confluence is not using the seraph logout url to define how to log out.

            Katherine Yabut made changes -
            Workflow Original: JAC Bug Workflow v3 [ 2896842 ] New: CONFSERVER Bug Workflow v4 [ 2990052 ]
            Owen made changes -
            Workflow Original: JAC Bug Workflow v2 [ 2788335 ] New: JAC Bug Workflow v3 [ 2896842 ]
            Status Original: Resolved [ 5 ] New: Closed [ 6 ]
            Owen made changes -
            Workflow Original: JAC Bug Workflow [ 2736031 ] New: JAC Bug Workflow v2 [ 2788335 ]
            Owen made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2391354 ] New: JAC Bug Workflow [ 2736031 ]

            I made a work around solution for this. It does not require extracting the jar file. What you need to do it to create a jsp file in confluence root. pass the url redirect page in the query string, in the file redirect to the query string page.

            Mustafa Abusalah added a comment - I made a work around solution for this. It does not require extracting the jar file. What you need to do it to create a jsp file in confluence root. pass the url redirect page in the query string, in the file redirect to the query string page.
            Alex Yakovlev (Inactive) made changes -
            Labels Original: affects-server bug-hunt bugfix critical discuss integration-with-other-products loyalty no-cvss-required security New: affects-server bug-hunt critical discuss integration-with-other-products loyalty no-cvss-required security
            Alex Yakovlev (Inactive) made changes -
            Labels Original: affects-server bug-hunt bugfix critical discuss integration-with-other-products no-cvss-required security New: affects-server bug-hunt bugfix critical discuss integration-with-other-products loyalty no-cvss-required security
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 [ 2271292 ] New: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2391354 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5.1 - TEMP [ 2221504 ] New: Confluence Workflow - Public Facing - Restricted v5 [ 2271292 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2166078 ] New: Confluence Workflow - Public Facing - Restricted v5.1 - TEMP [ 2221504 ]

              tthanhdang Tung Dang
              8873c89cc788 Daniel Ostermeier
              Affected customers:
              50 This affects my team
              Watchers:
              32 Start watching this issue

                Created:
                Updated:
                Resolved: