I’m trying to make a standalone (non-embedded) Shopify app. I used the CLI to make an embedded app, and then in /server/server.js I set IS_EMBEDDED_APP = false, and in /pages/_app.js I set forceRedirect = false. However, when I try and make graphql api requests to the admin api, I keep getting “Failed to execute ‘postMessage’ on ‘DOMWindow’: The target origin provided () does not match the recipient window’s origin ).”
How do you make api calls from non-embedded shopify apps?