Skip to main content
Participant
August 10, 2024
Question

Adobe Embed API CSP Error Chrome 98

  • August 10, 2024
  • 0 replies
  • 169 views

Hi everyone,

 

Problem:

In Chrome vs 98, the iframe generated by the Adobe Embed API (https://github.com/adobe/pdf-embed-api-samples/tree/master/More%20Samples/Angular%20Samples) throws the error: Refused to load the script 'data:application/javascript;charset=utf-8;base64,Ly0...' because it violates the following Content Security Policy Directive: "script -src 'self' use.typekit.net ...".

I see that the 'data:' element in the script-src CSP element does not exist.

I think it should be for older browsers.

 

Context:

I am using Angular 18 and a dedicated domain dns host.

 

Best regards

This topic has been closed for replies.