Manage app urls in OS 2.0 themes app blocks

Hello,

We are having an issue with the Online Store 2.0 editor. When placing an app through the widgets, on the sidebar to the right the app name appears and has a Manage app link, like in the attached screenshot. However, this link is incorrectly pointing to /apps/appname. Our app doesn’t seem to work in iframe mode, which Shopify forces apparently. When accessing the app directly from the Apps section, upon clicking on it, a new tab is opened and the user is redirected to our standalone app.

I’d be interested in how this can be fixed:

  1. customizing the Manage app link - is this possible somehow? Is there a setting that we need to be changing? It should open the app in a new tab instead of trying to embed it into an iframe.

  2. fixing the embedded app session stickyness. The issue is that the iframe Shopify uses seems to be doing something strange with cookies or something, because the sessions get immediately invalidated, even though the embed URL works on its own - e.g. if copied & pasted directly into the browser. The OAuth flow completes successfully, everything’s set correctly server-side and there doesn’t seem to be a problem with the auth process itself.

I’d be interested in finding out more about this, if there’s some reference to how the embedded version works and if we need to do something specifically on the server side.

Thank you. Looking forward to a resolution.

1 Like

I’d like to bump this topic as this continues to be an issue seven months later. I have a non-embedded app that Shopify tries to treat as an embedded app by opening it within an iframe in Shopify Admin instead of simply opening the App URL that I have specified in a new tab.