Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

366
Views
Embedded OpenSearch dashboard not showing in React app because of Content Security Policy

I'm trying to display an OpenSearch dashboard with an iframe but it's only showing the login page and when I try to log in I get the following error:

Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-75XtnrpDA0UHDMcl7S8lvswryIOd0RqgacRh0AMOgdk='), or a nonce ('nonce-...') is required to enable inline execution.

this is the iframe tag

<iframe
        title="Dashboard"
        src="https://vpc-issuing-desacople-os-qa-jcxnps24owm6lphguewrohfwti.us-east-1.es.amazonaws.com/_dashboards/goto/1a1dc225ef571ec76cb4bbbd2ef24ea7?security_tenant=global"
        height="600"
        width="800"
      ></iframe>

I've tried adding the following content-security-policy to manifest.json

"content_security_policy": "script-src 'unsafe-eval' 'self'; worker-src blob: 'self'; style-src 'unsafe-inline' 'self'"
about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!