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

Companion App does not perform download request using token-auth endpoint

      Issue Summary

      Confluence does not include "token-auth" path in download URL provided to Companion.

      Steps to Reproduce

      1. Have a Confluence instance with transparent SSO (e.g. load balancer that redirects requests to SSO then back to Confluence)
      2. Try to allow Companion requests to hit Confluence instances directly for URLS like "<base-url>/download/token-auth/attachments/*"

      Expected Results

      Companion should be able to download the file

      Actual Results

      Companion hits the SSO authentication for the download request.

      Workaround

      Option #1
      Configure load balancer/reverse proxy to direct "<base-url>/download/attachments/*" URLs to Confluence bypassing the SSO.

      Option #2
      Upgrade Confluence Previews bundled plugin/app to attached version which includes this fix (update through "Manage apps" in Confluence administration by using "Upload app")
      confluence-previews-11.2.3.jar

          Form Name

            [CONFSERVER-63189] Companion App does not perform download request using token-auth endpoint

            A fix for this issue is available to Server and Data Center customers in Confluence 7.13.0
            Upgrade now or check out the Release Notes to see what other issues are resolved.

            Jiri Hronik added a comment - A fix for this issue is available to Server and Data Center customers in Confluence 7.13.0 Upgrade now or check out the Release Notes to see what other issues are resolved.

            A fix for this issue is available to Server and Data Center customers in Confluence 7.12.1
            Upgrade now or check out the Release Notes to see what other issues are resolved.

            Jiri Hronik added a comment - A fix for this issue is available to Server and Data Center customers in Confluence 7.12.1 Upgrade now or check out the Release Notes to see what other issues are resolved.

              aknight@atlassian.com Alex K
              aknight@atlassian.com Alex K
              Affected customers:
              2 This affects my team
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: