Immediately redirects to app UI after authentication error for non-embedded app

Hi,

My team is building a multi-channel listing app. We had a Shopify integration, but due to the auth changes in 2026, we are now rewritting it to the latest Shopify recommendations.

I’m trying to pass the “Immediately redirects to app UI after authentication” check in the devs console. I’ve checked the similar threads here, but most of the answers suggest disabling legacy install and using token exchange which is not applicable to our app since we have multiple clients meaning multiple shops are connected via our app and our app is not embedded.

This is the error I get:

Expected URL: https://admin.shopify.com/store/something/app/grant
Actual URL: https://asdf.ngrok-free.dev/?hmac=4asd&shop=asd.myshopify.com&timestamp=1774881902

(I have redacted the actual values of params)

But this looks to me like it’s meant for the embedded app.

Even though the test is not passing, the integration is working fine. My app connects to Shopify and gets a token.

What am I doing wrong? What is the suggested flow here?

Thanks in advance.

Hey @david_bolosco this guide walks through how to implement the code grant for non-embedded apps: