App reviews, troubleshooting, and recommendations
We have a sales channels app that we show within Shopify admin for a store. Recently, we started having issue and it is not working anymore. We do full oAuth process inside iframe as well in order to authenticate the user with our backend.
The issue seems to be that it is trying to login to Shopify and it isn't working because it is in iframe. Is this issue on Shopify's end or do we need to change our approach? I have attached some screenshots with the issue.
Just for more context, I have tried both *.myshopify.com and admin.shopify.com/admin/<slug> for oAuth and neither of them are working inside iframe.
Hello @FarhanS,
You need to make sure that your embedded app that you inserted into Shopify admin panel still responds with a header that has an allowance to be embedded outside the original domain. Something like header('Content-Security-Policy', "frame-ancestors https://{$user- >name} https://admin.shopify.com")
Best regards,
Anastasia
Starting a B2B store is a big undertaking that requires careful planning and execution. W...
By JasonH Sep 23, 2024By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024