App being rejected due to Oauth flow but I can't replicate

ashleyvdp
Tourist
7 0 1

My sales channel keeps getting rejected with the following message: 

"Apps must ask a shop for access when being installed on a shop for the first time, as well as when they are being reinstalled after having been removed. During install or reinstall we expected Oauth to be initiated at https://appstoretest5.myshopify.com/admin/oauth/request_grantbut was redirected to blah."

But I can not replicate this.  When I test my app on my development store, it first hits my app URL, and then successfully redirects to the oauth/request_grant screen.
 
Any help would be appreciated.  
 
Thanks!

 

fifi15
Tourist
5 0 2

Hi @ashleyvdp ,

i'm facing same issue, any solution ?

0 Likes
kanhaiyas
New Member
1 0 0

Also getting the same rejection reason. Can someone please help here?

 

0 Likes
ashleyvdp
Tourist
7 0 1

are you using the rails ShopifyAPI gem?  That's what I was using and I think I solved it by making sure I was always generating the redirect url with that gem's create_permission_url function.

 

0 Likes