Hello everyone!
We tried submitting our app to the Shopify App Store. But got rejected with this error “Your app must immediately authenticate using OAuth before any other steps occur. Merchants should not be able to interact with the user interface (UI) before OAuth.”
However, on our end we’ve ran some tests and everything is following the flow according to their requirements. We are unable to replicate the error on our end, after testing on multiple browsers with multiple users, even on incognito.
Our app flow is as follows (exactly as how Shopify asks for it):
- The merchant installs your app.
- Our app redirects the merchant to Shopify’s OAuth authorization page.
- The merchant decides whether to grant the requested access to our app.
- Shopify redirects the merchant to our app along with an authorization code.
- Our app makes a request to Shopify to exchange the authorization code for an access token.
The reply we got from the store team shows us a screenshot with a DNS issue which is a “DNS_PROBE_FINISHED_NXDOMAIN” error. We even flushed our cache on Cloudflare, tested another few times and we can’t replicate the error still. (URL in the screenshot also contains an HMAC in the slug, which is also working fine on our end.)
Any help would be greatly appreciated as the rejection emails from the Shopify store are all automated and don’t accept responses.
Thanks in advance everyone!