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
Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024