Skip to main content
Known Participant
Sep 13, 2021 7:57 AM UTC
Answered

Adobe pdf embed API- client id domain

Hi,

we have both dev & prod enviroments and each has 11 languages.

Dev domain is: dev.xx.com

Prod domain is: www.xx.com

Dev domain in german is: de.dev.xx.com

Prod domain in german is: de.xx.com

Can't i configure client id for all, like *.xx.com ?

If not, i must have a solution for this.

 

thnx

    Sumona GhoshCorrect answer
    Adobe Employee
    Sep 13, 2021 9:03 AM UTC

    Please try creating credentials for PDF Embed API from here: https://www.adobe.io/apis/documentcloud/dcsdk/gettingstarted.html

    You can pass xxx.com as the application domain and the generated client ID should work for all your subdomains.

     

    Let us know if you face any issue while using this. Thanks!

    6 replies

    Adobe Employee
    Sep 13, 2021 8:15 AM UTC

    Hi,

     

    You can create one client id for "xx.com" and it should work for all your subdomains, and if you wist to separate out between dev and prod env then please create one for "dev.xx.com" and another for "xx.com" and use it accordingly. Let us know if it doesn't work for you.

     

    Thanks.

    Translate
    Alon5FCDAuthor
    Known Participant
    Sep 13, 2021 8:18 AM UTC

    Already tried that. sadly it's not working and i already deployed to production.

    Translate
    Sumona GhoshCorrect answer
    Adobe Employee
    Sep 13, 2021 9:03 AM UTC

    Please try creating credentials for PDF Embed API from here: https://www.adobe.io/apis/documentcloud/dcsdk/gettingstarted.html

    You can pass xxx.com as the application domain and the generated client ID should work for all your subdomains.

     

    Let us know if you face any issue while using this. Thanks!

    Translate