As you suggested, we have created a config file to execute the view document API. (both application & plugin under cisco. com domain)
Our application : https://trustportal-nprd.cisco.com ( From this site on click of document, we are calling the pdfjs plugins)
We stored pdf js plugins : https://www-stage.cisco.com/web/fw/ctp/wv-resources/wv-resources/lib
under the lib folder we created config folder and mention file.js → this is the config file
From this config file we are calling the WebViewer, PDF document file to load.
But still we are getting CORS issue.
As we discussed in mail, please suggest do we are missing anything?
Do you have any working sample code it is good to validate from our end.
Please help us in this CORS issue. Thanks in advance.