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

203
Views
How to allow cross origin on iframe through sandbox parameter

App is render as 'iframe' micro app and there is another 'iframe' within microapp 'iframe'.

Micro app iframe renders as below:

sandbox="allow-scripts allow-popups allow-modals allow-forms allowdownloads allow-same-origin"

when inner iframe try to access outer iframe then it creates below error:

Blocked a frame with other "https://microapp-ifram.com" from accessing a cross origin frame.`

Is there any way on "sandbox" parameter which can allow cross origin ?

By removing "sandbox" it worked but having "sandbox" causes CORS issue. I can not remove "sandbox" as its not in control. but, I can add any additional attribute to fix CORS.

Something like this if any valid sandbox parameter: sandbox="allow-scripts allow-popups allow-modals allow-forms allowdownloads allow-same-origin <ALLOW CROSS ORIGIN> "

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!