my app audit failed, but I don't know how to modify it

Highlighted
Tourist
3 0 2

App must install successfully.

Your app does not request installation on the shop immediately after clicking "add app". 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_grant but was redirected to —————— /. 
 

I didn't see this URL in the development documentation

1. users click Add app to jump to app url

2. the app will jump to https://${shop}/admin/oauth/authorize

3. user check the information and click Install

4. jump to app

what's wrong with this process?

appstoretest5 was installed for the first time on August 10, Beijing time, and then was installed again on August 13, that is, just now. Can we change another store during the audit

 

 

1 Like
Highlighted
Tourist
3 0 2

During app review, my submission is always cancelled for unknown reasons.

And I've never received an email with a successful submission or a failed audit

0 Likes
Highlighted
Shopify Staff
Shopify Staff
587 72 129

Hey @imile,

The documentation for redirecting to that URL is here: https://shopify.dev/tutorials/authenticate-with-oauth. Your app will receive a request at your specified install URL, and the first thing it should do is redirect the user to the mentioned Oauth URL. If you don't preform this redirect, your submission will be automatically rejected.

JB | Developer Support @ Shopify
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Click Accept as Solution 

0 Likes
Highlighted
Tourist
3 0 2

I know it.

When a new store is installed, I normally jump to /admin/oauth/authorize. If it is a new store, this URL will jump to /admin/oauth/request_grant

But the audit is not a brand new store. The store he used has installed my app, so it will jump to my home page instead of the authorization page.

1 Like
Highlighted
Tourist
4 0 4

I am having the same issue. Shopify is doing nothing to fix this or offer a sensible solution.

 

Your docs are broken and you are wasting everybody's time!

2 Likes
Highlighted
Tourist
5 0 2

i'm facing same issue, any solution?

0 Likes
Highlighted
Shopify Staff
Shopify Staff
587 72 129

@imile 

The store he used has installed my app, so it will jump to my home page instead of the authorization page.

This will only be the case if the app is currently installed on the store. If the app has been removed, then the API permissions are removed as well and those need to be granted again by the merchant though oAuth.

@fifi15 @rrttalv 

Can you provide more details?

JB | Developer Support @ Shopify
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Click Accept as Solution 

0 Likes
Highlighted
Tourist
4 0 4

I followed your tutorial on creating a Shopify app with Koa router.

 

This one: https://shopify.dev/tutorials/build-a-shopify-app-with-node-and-react to be more specific.

I submitted my app to be listed and reviewed, but I get this message:

App must install successfully.
Your app does not request installation on the shop immediately after clicking "add app". 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_grant but was redirected to https://appstoretest5.myshopify.com/admin/apps/xxxxxxxxxx.
Learn more about authentication in our developer documentation

 

It's quite obvious that the tutorial is either lacking very important details or something regarding the automated tests is broken. The community forum has tons of posts like these and they are just ignored, no official solution has been proposed.

2 Likes
Highlighted
Tourist
5 0 2

My app has already pass review few days ago until i submit new code without any change of authentication (about 5 days ago),

Everything is perfect when test on development store but when i submit a review i get message:

App must install successfully.
Your app does not request installation on the shop immediately after clicking "add app". 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_grant but was redirected to https://appstoretest5.myshopify.com/admin/apps/<app_token>. Learn more about authentication in our developer documentation

 

Yesterday shopify was down,

Does shopify make some change on automated tests and i don't know ?

Any solution for this issue?

2 Likes
Highlighted
Shopify Staff
Shopify Staff
587 72 129

Hey @fifi15 @rrttalv,

I'd like to investigate this further. To do so, I'll need your app id which can be found in the URL when viewing your app in the partner dashboard (it's the string of numbers after /apps/).

JB | Developer Support @ Shopify
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Click Accept as Solution 

1 Like