App Got Rejected due Redirect

Highlighted
New Member
1 0 3

Hi,
I'm facing issues while approving the app. It got rejected due to redirect. I have tested the app on the development store and works perfectly. 
App must install successfully
App not requesting access to shop immediately after clicking "Add App". Expected OAuth to be initiated during install or reinstall at https://appstoretest5.myshopify.com/admin/oauth/request_grant but was directed to https://exampledomain.com/appname.
App listing has disabled add app button so I'm not able to test before submitting.

 

 

3 Likes
Highlighted
Shopify Partner
18 0 9

I got hit with this as well today.

 

For us, the install works via URL or installing app via App Admin (Install on Test Store).

 

The entire flow is handled, but the app submission won't accept.

0 Likes
Highlighted
New Member
16 0 0

Same thing happened to me today.

 

Why is this rejection coming?

0 Likes
Highlighted
Tourist
3 0 1

Same problem for me. Not sure why this is happening, The system used is node-js with Koa packages, React and App Bridge

0 Likes
Highlighted
New Member
4 0 0

Hello

 

Any update?

I am facing the same issue. 

 

Got following message

 

App must install successfully
App not requesting access to shop immediately after clicking "Add App". Expected OAuth to be initiated during install or reinstall at https://appstoretest5.myshopify.com/admin/oauth/request_grant but was directed to https://xxxxxxx.com/xxxx

 

I am sure this is something to do with their end. Hope this gets resolved soon.

 

Sky

0 Likes
Highlighted
Shopify Staff
Shopify Staff
486 42 106

Hey All,

 

The criteria for this check is actually for 3 different things:

 

Checking for auth
Checking for a 200 after auth
Checking for reinstall

If your install flow works correctly, please ensure that your app re-installs successfully after an uninstall.  This is most likely what is being flagged here.

 

 

Developer Experience @ Shopify
0 Likes
Highlighted
Tourist
5 0 4

I'm getting the same error, and I can't figure out why. I'm using koa-shopify-auth and asking for/setting cookies properly. I've tried fresh installs as well as uninstall->reinstall and still can't reproduce this. Any chance this is a transient error on Shopify's automated testing side?

1 Like
Highlighted
Shopify Partner
18 0 9

Hi @Ryan ,

 

I've done all these tests via development shops and they all are successful.

 

One thing I did notice when i checked our logs:

3 attempts we made to install by Shopify:

1) auth request with no parameters. Which resulted in an error, as no shop parameter was included.

2) auth attempt with parameters. 200 was returned with an html page with app-bridge.

3) auth attempt with parameters. 200 was returned with an html page with app-bridge.

 

The OAuth confirmation never occurred in steps 2 and 3 - thus the handshake never completed.

 

Does the automated tester complete the OAuth flow?

 

 

0 Likes
Highlighted
New Member
2 0 0

I am using the nodejs application generated by the shopify cli and I was having exactly the same issue.

This setup handles authentication with  koa-shopify-auth middleware and I did not write a single line of code, so it was very frustrating getting this message.

 

Then I started looking at the access logs and noticed that the only route that got redirected was

"GET /auth/inline?shop=appstoretest5.myshopify.com HTTP/1.1"

 

After a quick search, I found this github comment - https://github.com/Shopify/quilt/issues/318#issuecomment-522241902

 

When I changed my App URL (in the app settings page) from https://example.com/ to https://example.com/auth/inline my app passed the automatic check.

 

Hopefully you are experiencing the same problem.

 

0 Likes
Highlighted
New Member
4 0 0

Hey @Ryan 

 

My auth works fine and at the end redirects to the apps page to select the price package. So in that case how would auth function return 200? Please let me know.

 

Currently my DB shows that app is installed successfully, as well as the AUTH has done needed entries in the DB. So, now a package needs to be selected from shopify testing end.

 

Is it because I have put all the charges in live mode instead of testing mode?

 

Please let me know, in my 5th attempt, I have not got rejection for almost 20 hours now and nothing is moving forward as per my DB.

 

Please guide.

 

Thanks,

Sky

0 Likes