-
Bug
-
Resolution: Fixed
-
Low
-
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
- Enable / Configure custom domain for Confluence Cloud
- 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
- relates to
-
CLOUD-6999 Allow custom domains for Cloud apps
- Closed