We have an embedded app that requires some installations to have additional grants.
Reading the documentation, we are instructed to use dispatch to a url outside of the embedded frame. Using a 3xx redirect causes an error, so that appears to not be an option.
We have tried this… which does nothing.
redirect.dispatch(Redirect.Action.REMOTE, {
url: ‘https://[shop].myshopify.com/admin/oauth/request_grant?[etc]’
});
We have tried triggering this from script. Also tried Onload. Onclick. OnAnything. And it never redirects to any location.
I feel like I’m missing something obvious here??