Thanks for the suggestion @JordanFinners. Unfortunately this did not resolve the issue. I also deployed my server application on a proper domain, but the issue still remains.
In addition to the above, I encountered the following on my store at My-App. · Apps and sales channels · App development · Shopify
I am growing increasingly confused about how to set up and deploy a custom app with my server-side application. Below are the steps I currently follow via the authorization code grant flow:
- Create app on Dev Dashboard
- Sync with local environment via
shopify app config link - Update TOML config(Disabled `install` button while installing custom app) with
use_legacy_install_flow=true - Deploy via
shopify app deploy --config=shopify.app.toml - Using the browser, navigate to
https://<server-application-url>/auth?shop=my-shopto redirect to shop for authorization
I’m not sure what step I am missing. The use of Shopify’s managed installation will not provide my server-side application with the appropriate shop name and session, as I can only trigger my app installation/auth flow outside of Shopify via the tokenExchange OAuth process.
