Copy link to clipboard
Copied
Hello, We are working on a project that uses the Adobe DC Viewer SDK. We have integrated the Adobe viewer in the application and installed the software, and also procured the ClientID key for the domain and applied. But we are getting an error with log and License Verification Service. Please see below error screen shot.
We are a bit stuck with this issue , any help would be greatly appreciated.
Thanks in advance
Copy link to clipboard
Copied
That could be an ad blocker. Query, does the Embed actually work?
Copy link to clipboard
Copied
Yes, The embed actually works, we are able to view the pdf also, but after a few seconds (30 seconds approx) we get a message 'Application domain is not authorized to use the provided pdf embed api clientID', and when we check the network error in the browser we see the above issues in the screen shot.
Copy link to clipboard
Copied
Ok, can you show me the code where you use the embed? Just the JS.
Copy link to clipboard
Copied
Sure, even the straight sample from adobe also having the same issue.
Copy link to clipboard
Copied
Ok, can you tell me the URL where this is, and then go into the developer console, find the project you created, and confirm the hostname matches?
Copy link to clipboard
Copied
Yes, I verified the url, it matches with the hostname where it is hosted ('casdashboard.cdsl.com'). The thing is, this is hosted on a server within in a network domain , and there could be some restrictions on the server accessing any outside sites. But then we whitelisted below sites -
https://auth.services.adobe.com
https://adobeid-na1.services.adobe.com
https://ims-na1.adobelogin.com
https://www.adobe.io
https://www.adobe.com
https://acrobatservices.adobe.com
https://documentservices.adobe.com
Could be that something is blocking the adobe dc viewer access some outsite sites for functioning, but not sure what.
Thanks for all your help.
Copy link to clipboard
Copied
Hmm, not sure. In theory you ARE connecting to our code that checks the key, it just doesn't think it's valid. Can you share the full URL of your demo? ALso, do you mind sharing a screenshot from our dev console showing the domain listed there?
Copy link to clipboard
Copied
Hi Raymond, Attached are the screen shots of the application with url and also the dev console.
Copy link to clipboard
Copied
In your last screenshot - I was looking for the domain being specified in the credential. Here is an example from one of mine:
See how I can see the domain?
Copy link to clipboard
Copied
Sorry about that, here is the screen shot -
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Raymond, Actually what I think is, adobe dc viewer is NOT able to validate the key beacuse of some network restriction or failing to access some outside site that is required for validating the key.
Copy link to clipboard
Copied
Maybe - and maybe our code just treats it like a bad key. All I can suggest is checking that network tab. Or, if you can, open up everything for.a sec to test.
Copy link to clipboard
Copied
Raymond, You are correct. If we open up all network restrictions it works absolutely fine. But due to security reasons we are restricted to open up or whitelist only those sites that are absolutely necessary for the above dc viewer to work, and here is where we are stuck, unsure of what additional sites need to whitelisted other than the below(already whitelisted) -
https://auth.services.adobe.com
https://adobeid-na1.services.adobe.com
https://ims-na1.adobelogin.com
https://www.adobe.io
https://www.adobe.com
https://acrobatservices.adobe.com
https://documentservices.adobe.com
Copy link to clipboard
Copied
I'm sorry I honestly don't know.
Copy link to clipboard
Copied
What is required to reslve this? We have whitelisted access to below sites -
https://auth.services.adobe.com
https://adobeid-na1.services.adobe.com
https://ims-na1.adobelogin.com
https://www.adobe.io
https://www.adobe.com
https://acrobatservices.adobe.com
https://documentservices.adobe.com