I'm facing issues while trying to submit my app to Shopify App Store.
My app was rejected because:
The OAuth grant screen must be the first step in the installation process when trying to install the app. The app must never ask a merchant for their .myshopify.com URL. Please see this screencast of what happens when app is installed. Please see this document for additional details.
The screencast shows my OAuth flow as follows:
1. Make install request to app.
2. Redirected to app and build permission url then redirect immediately to Shopify OAuth grant screen.
3. Displays required scopes and then installs app.
4. Redirect to app inside of iframe.
It seems that the app rejection is in relation to step #2 as the user is redirected to the app as it builds the permission url. How am I supposed to build the permission URL without redirecting to my app? I was given an example on how the installation flow looks like and it seemingly performs the same 0Auth handshake that my app does.
Any help on this issue would be greatly appreciated. @BeatrizAquino could you expand on exactly what you are expecting the flow to look like?