htmlpdfxamppadobe-embed-api

Domain not authorized to use PDF Embed API though listed as allowed in Adobe console


I am using the Adobe PDF Embed API to display PDFs on my web client.

For development I'm using XAMPP with virtual hosts. Since I set up xampp to use SSL encryption locally, I can not get the Embed API to work anymore.

I have an API Client Id and the allowed domains set to my local development domain. But when requesting the API, it says the domain would not be authorized. I tried setting the allowed domains in the Adobe console to the VirtualHost ServerName as well as using localhost as allowed domain. But neither is working.

Anybody got a guess why it is not working?


Solution

  • Solution:

    As it seems, the Adobe Console has difficulties when the allowed domains are edited. So I created a new project, added the API and used the ServerName of my local XAMPP Virtual Host (without the subdomain) as the allowed domain.