Uploaded image for project: 'Atlassian Marketplace'
  1. Atlassian Marketplace
  2. MP-236

Installing a connect app using app descriptor in Confluence cloud that has custom domain fails

XMLWordPrintable

    • Minor

      Issue Summary

      This is reproducible on Data Center: (no)

      Installing a connect app using app descriptor in Confluence cloud that has custom domain fails.
      And, we get a CORS error like this.

      Access to XMLHttpRequest at 'https://$SITENAME.atlassian.net/wiki/rest/plugins/1.0/xxxxxxx' (redirected from 'https://$CUSTOMDOMAIN/wiki/rest/plugins/1.0/pending/xxxxxx') from origin 'https://$CUSTOMDOMAIN' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.
      

      Steps to Reproduce

      1. Enable / Configure custom domain for Confluence Cloud
      2. Install a connect app using its app descriptor

      Expected Results

      The app should install successfully

      Actual Results

      The installation fails and we see the following error in browser console.

      Access to XMLHttpRequest at 'https://$SITENAME.atlassian.net/wiki/rest/plugins/1.0/xxxxxxx' (redirected from 'https://$CUSTOMDOMAIN/wiki/rest/plugins/1.0/pending/xxxxxx') from origin 'https://$CUSTOMDOMAIN' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.
      

      Workaround

      Currently there is no known workaround for this behavior. A workaround will be added here when available

            e6a780dea54b Harsh Dhaka
            2ed764d1efd7 Nashid Farhad
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: