Our embedded app won't load in Safari (13.1.2):
[Error] Unrecognized Content-Security-Policy directive 'worker-src'.
[Error] Refused to load https://XXXX.myshopify.com/admin/auth/login because it does not appear in the frame-ancestors directive of the Content Security Policy.
Seems the issue is is happening while still in Shopify flow.
We're using app-bridge-react Provider component to embed in Shopify admin.
Our embedded app doesn't use cookies so I don't think this thread is relevant to our problem - unless I've missed something.
Hi @instaconnect , unfortunately - no, haven't found a solution yet. This has worked properly before but at some point stopped to.
Think that Safari updates are outpacing some of the Shopify iframe mechanisms.
Hi @Shaibt, I'm also finding this issue.
It seems to be due to the Response header settings:
Content-Security-Policy: frame-ancestors 'none'
And possibly:
X-Frame-Options: DENY
Which relate to the redirect response:
Another post with similar issue
Had anyone ever had apps working on safari?
Seems it blocks iframes
Same here. My app does not use cookies, so solutions like this do not apply.
I am still trying to wrap my head around the issue, but what I think is happening is this:
Does that explanation sound at all accurate? Or am I off base?
User | Count |
---|---|
13 | |
9 | |
8 | |
7 | |
6 |