Anyone knows what the issue is?
I have tried creating a new app, and tried so many different things. This is the only thing remaining and I am stuck on this.
Embedded apps should use Shopify managed installation with token exchange. With this setup, your app renders its UI immediately on load and acquires access tokens behind the scenes via session tokens. No OAuth redirect needed.
In your shopify.app.toml, make sure use_legacy_install_flow is omitted or set to false, then run shopify app deploy. The token acquisition guide covers the full setup.
Hello,
Thanks for the response. I have working token exchange, no oauth and legacy flow is false.
Urls are correct in shopify.app.toml. All other tests succeed, app works perfectly and installs fine. It just fails at the test because it redirects to app/grant. I have been stuck in this for a while, even though the code is correct. Is this a bug?