Immediate redirection after Install - Latest check

The recent addition of a check to immediately redirect after installation is very messy. The check was not present last week.

I was using oauth/authorize until a week back and it was fine. I was about to submit my app and I see this check. It requires the app to use app/grant endpoint for auth.

But app/grant never works. I always see a 404 page on the /app/grant.

Hey @Sai_Mankala , we have some resources here that can help you implement this: About token acquisition

The recommended process would be to use an app library to make this easier and more secure.

Thank you @KyleG-Shopify . I did not use the api library but it works now with manual auth.

The problem was with the way check is done during app submission.

Suggestion for the developers of this check:

Please use a different store for every run. I can see retries and that is ok. But the problem is when we click on Run button. Looks like we are using the same store to test this check.

What is the problem with this?
Assume the installation fails in some flow but the store and access token in stored. So, installation is not complete but the access token is stored in the DB.

Now if I click on run again, the redirection to app/grant is not generated as the store is already authenticated. Unless the db entry is manually deleted, the check keeps failing.

Even if the installation is good, the next Run button click fails the check as the redirection to app/grant is not done as the store is already authenticated!!

There might other such nuances too.

1 Like

Thanks Sai. I’ve shared your feedback with our app review teams that are managing this check.

Cheers.