Hello, I am stuck with some "Blocked by Content Security Policy".
My Shopify app basically opens in an iframe. Only with Firefox Browser, I am receiving this error. I checked it with Inspect Element and I saw this "frame-ancestors". ( Screenshot -> https://prnt.sc/rojyht )
I reviewed this document -> https://content-security-policy.com/faq/
In my nginx configuration, I added ->
add_header Content-Security-Policy "frame-ancestors 'self' https://*.myshopify.com;";
It added successfully in the Response Header but still, I see the same error.
Can anyone help me with this, I can provide more information if needed.
After doing a lot of research I found 2 links that helped to fix this problem. I hope it helps you too.