Your embedded app is redirecting the top frame outside of the Shopify admin URL

We are currently trying to submit an app for review, but the app gets refused for this reason:

There was an error opening your app in the Shopify admin. Your embedded app is redirecting the top frame outside of the Shopify admin URL (https://app-security.myshopify.com/admin/charges/2703392769/23989452822/RecurringApplicationCharge/confirm_recurring_application_charge?signature=BAh7BzoHaWRsKwgWAOKVBQA6EmF1dG9fYWN0aXZhdGVU–24a63d1e0f07f98b1d0d28e2facdc785b851eda8). Embedded apps are expected to be rendered within the iframe.

The link provided is in located in the Shopify admin, so the message might be wrong. The only redirect our app does is inside the admin, to bill the customer. The app is based of the new CLI 3 Node template.

What is the actual issue with the app? I have found other threads with similar issues, but no answers.

Same issue here. The lack of support from Shopify on these issues is really disappointing.

1 Like

Hi i am facing the same issue, did you manage to resolve it? Thanks.

I’m not sure if I fixed it or if it fixed itself and was a Shopify issue, but after changing to the new oauth flow it seems to have helped. See here: https://shopify.dev/apps/auth/oauth/update and this PR in the node app template repo: https://github.com/Shopify/shopify-app-template-node/pull/947

1 Like

Thanks very much for getting back to me, much appreciated! I am using the most up to date node app template. But my app navigation is somewhat customized, i.e. I am not using app bridge Title Bar for example. So maybe something to do with that. I am struggling to recreate this issue in my local environment as everything is working fine. But when I submit the app for review, then after few minutes it is being rejected with the below error. I think it is some some automated check they do.