App rejected due to OAuth grant screen not being first step

Highlighted
Shopify Partner
1 0 1

Hi Everyone,

 

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. 

Screen Shot 2020-07-31 at 1.19.15 PM.png

2. Redirected to app and build permission url then redirect immediately to Shopify OAuth grant screen.

 Screen Shot 2020-07-31 at 1.17.11 PM.png

3. Displays required scopes and then installs app.

 Screen Shot 2020-07-31 at 1.17.41 PM.png

4. Redirect to app inside of iframe.

 Screen Shot 2020-07-31 at 1.18.04 PM.png

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? 

 

Thanks!

Errol

Highlighted
Tourist
5 0 2

Hi @errolgr ,
I'm facing same issue, any solution?
Thanks!

0 Likes