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

    XMLWordPrintable

Details

    Description

      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

      Attachments

        Issue Links

          Activity

            People

              aknight@atlassian.com Alex K
              aknight@atlassian.com Alex K
              Votes:
              2 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: