Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

frame-ancestors

frame-ancestors

Pitbelgroup
Shopify Partner
3 0 0

Hi there!

My site already has headers :

Content-Security-Policy:
frame-ancestors https://api.recome.pitbel.ru https://*.myshopify.com https://admin.shopify.com

 

But when i send my app to listing i get Requirements that must be met before initial screening: header should set frame-ancestors https://[shop].myshopify.com https://admin.shopify.com

Replies 3 (3)

Anglia
Tourist
5 0 2

Hi,has this problem been solved? How to deal with it correctly?

 

zergshop
Visitor
1 0 0

Same issue here. Did some searching and found others with the same issue. Seems like you need to set the header dynamically with middleware or the like.

 

https://community.shopify.com/c/shopify-apps/frame-ancestors-value-for-multiple-shops/m-p/1425923#M4...

Appify_Commerce
Shopify Partner
31 1 3

Hi,

 

Has anybody found solution for this, we are sending the proper CSP headers still they reject the app for the same reason.

 

Thanks!