Copy link to clipboard
Copied
This application domain (https://alex.patrut.com) is not authorized to use the provided View SDK Client ID.
index.html contains the following code:
The application domain alex.patrut.com is configured to be autorized in console:
What is the problem?
Copy link to clipboard
Copied
i have the same problem with firebase
Copy link to clipboard
Copied
idem : client Credentials don't work
Copy link to clipboard
Copied
Other people are reporting the same problem, it might be an issue with the adobe service. Can we please get an update from the adobe team? @Tariq_Ahmad_Dar
Copy link to clipboard
Copied
View SDK needs different credential. Please visit https://www.adobe.io/apis/documentcloud/dcsdk/gettingstarted.html to create a client credential for View SDK. Let us know if you run into any issues. The screen for creating View SDK client credetial will look like following -
Copy link to clipboard
Copied
Copy link to clipboard
Copied
I should have also mentioned that creating client credential from IO console has a bug. Until that's fixed, please use 'Click here to access' as in following UI when you create client credential from IO console.
Copy link to clipboard
Copied
According to my tests it works when the "API Key/Client ID" is generated with certain "Adobe ID" accounts and not with others.
...strange...
And when it's work, it's not available in Incognito mode :
Copy link to clipboard
Copied
Based on information in https://community.adobe.com/t5/document-cloud-sdk/file-preview-not-available-in-incognito-mode/td-p/..., looks like you were not using right Client ID but good to know that it's working fine now.
Copy link to clipboard
Copied
No, it still does not work and it was the correct ID on this test page.
https://www.damezumari.net/WORK/Demo_PDF/
The problem with a bad Client ID and incognito mode was a different test page :
https://www.damezumari.net/WORK/Demo_PDF2/
See here :
Copy link to clipboard
Copied
I have responded to you on your post - https://community.adobe.com/t5/document-cloud-sdk/client-id-work-don-t-work-depending-on-adobe-id/m-...
Hope that helps
Copy link to clipboard
Copied
I got it to work now. Well, not at first at least. Just by creating new credentials didn't do it, I was having the same error. However, out of frustration I went line by line, in the code sample provided by adobe, when I noticed that they included 3 space lines before {location. I didn't think it would matter, but my OCD inspired me to remove them since they are not needed. Guess what, it works for me now... If someone would try and let us know that would be awesome.
Here is index.php in text format: https://alex.patrut.com/resume/sample.txt. Maybe you can try to copy that, update it with your id and give it a try.
Copy link to clipboard
Copied
Hi, its good that you got it working. But in your commented piece of code looks like you are passing the client id including delimiters "<" & ">", which was creating the problem.