CORS issue while using Adobe Connect Web Services via JavaScript
Summary of issue:
- I am not able to use Adobe Connect Web Services to manage my hosted Adobe Connect account/content from a different website using JavaScript.
Type of computer I use:
- Using Adobe Connect, hosted account
- Windows 7 Professional
- Browsers I tested with:
- Internet Explorer 11.0.9600.18638
- Firefox 52.0.2
- Google Chrome 57.0.2987.133
Steps I've already taken to troubleshoot:
- Attempted to perform simple "common-info" action using JavaScript, based on example on Adobe Connect's documentation
- Scoured internet, Adobe documentation, forums, and YouTube on how to perform simple login web service example
- Researched Cross-Origin Resource Sharing (CORS) which helped me build the XmlHttpRequest but I received "Access-Control-Allow-Origin" errors
- Researched "Access-Control-Allow-Origin", but not sure how to add this header since I don't have access to Adobe server
- Scoured the Adobe Connect admin interface for ways to add "Access-Control-Allow-Origin" header but did not find anything that helped
- Tested my JavaScript on both HTTP and HTTPS, as well as tried from 2 different web domains
- Most, if not all, errors result in the following errors in the console:
- SEC7118: XMLHttpRequest for https://myaccount.adobeconnect.com/api/xml?action=login&login=mylogin&password=mypassword required Cross Origin Resource Sharing (CORS).
- Origin https://www.mycoolwebsite.com not found in Access-Control-Allow-Origin header.
- SCRIPT7002: XMLHttpRequest: Network Error 0x80070005, Access is denied.
Can someone pretty-please provide any help, guidance, or advice? ![]()
