Hi everyone,
here is my app tested with CSP as per the shopify document reference
app rejected message:
Your primary app listing has 1 issues to fix before you can submit your app for review
App must set security headers to protect against clickjacking.
To prevent clickjacking attacks, your app must set the proper content security policy directive. If your app is not embedded in an Iframe in the Shopify admin, and you are seeing this message, check your app’s settings and make sure it is set to “non-embedded.” If your app is embedded, then we expect the ‘Content-Security-Policy’ header to be frame-ancestorshttps://admin.shopify.com https://[shop].myshopify.com, where [shop] is dynamically set to the shop domain the app is embedded on.
yep looks valid to me too, I would reply to the rejection message with that screenshot and see what happens. Was that the only required fix for your app?
we just got an app delisted because the automated testing said we werent following the oAuth flow correctly.. after the app was publish.. but we made no changes to the apps auth flow but the automated testing must have gotten a false positive and now we are trying to get the problem resolved.. app has been delisted 3 days already..
@VigneshQikink Yes, It was passed. you can see the app history app security installed and uninstalled done then your valid for CSP.
If CSP fails then show Notice to your app dashboard within short time like 10 - 20 min.
How is this different than what you showed in your initial screenshot?
I didn’t have any issues with the csp, my solution worked just fine. There is no need for a semi-colon unless you have further instructions in the CSP header.