error message: domain is not authorized
I'm getting this error message. Is it because the URL on the site (caringacross.org) isn't the exact same as www.caringacross.org? My "allowed" domain is: www.caringacross.org
here's the page: https://caringacross.org/california-care-kit-copy/
here's the code
<!--Get the samples from https://www.adobe.com/go/pdfembedapi_samples-->
<!DOCTYPE html>
<html>
<head>
<title>Adobe Acrobat Services PDF Embed API Sample</title>
<meta charset="utf-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
<meta id="viewport" name="viewport" content="width=device-width, initial-scale=1"/>
</head>
<body style="margin: 0px">
<div id="adobe-dc-view"></div>
<script src="https://documentservices.adobe.com/view-sdk/viewer.js"></script>
<script type="text/javascript">
document.addEventListener("adobe_dc_view_sdk.ready", function()
{
var adobeDCView = new AdobeDC.View({clientId: "9d3486109b12431b8078be0087632f4d", divId: "adobe-dc-view"});
adobeDCView.previewFile(
{
content: {location: {url: "https://caringacross.org/wp-content/uploads/2023/02/CAG-CA-Resource_v4.pdf"}},
metaData: {fileName: "CaliforniaCarekit.pdf"}
});
});
</script>
</body>
</html>
