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
Learn how to expand your operations internationally with Shopify Academy’s learning path...
By Shopify Feb 4, 2025Hey Community, happy February! Looking back to January, we kicked off the year with 8....
By JasonH Feb 3, 2025Expand into selling wholesale with Shopify Academy’s learning path, B2B on Shopify: Lau...
By Shopify Jan 28, 2025