I'm attempting to run sample CMIS code which I copied from the Empower virtual machine to a dev web server. In the beginning when running the code "cmis_sample_download-file.html" I was receiving a 401 (Unauthorized) error message in the Chrome Dev Console. Since the code is sitting on another server and not the Laserfiche server I've set the Allow-Control-Allow-Origin header in IIS and have experimented with setting a HTTP authorization header in the sample code AJAX call to the Laserfiche server, however when I do this I receive an error
Access to XMLHttpRequest at 'http://user:pass@laserficheserver/lfcmis/browser/id1/root' from origin 'http://localhost:1974' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: It does not have HTTP ok status.
Running this same code directly on the Laserfiche server results in no error.
Any one have any hints they can point me to.
Thanks in advance,
Mike