Hi everyone,
These days my app was delisted by shopify official team by the reason of:
"
Use OAuth to ask for scope permissions immediately after merchants add your app. Check and troubleshoot your app’s OAuth by reinstalling your app on your test store using this method. After you’ve installed your app on a development store, make sure you can uninstall and reinstall that app on the same shop. |
---|
"
and
Unresolved. Your app still fails to use OAuth and it redirects to an error page. See this screenshot for reference.
The screenshot as following:
After once modification, I can already install, uninstall, and reinstall normally on my own test store. And the authorization page can be successfully redirected during the installation process. However, the official team’s test results from the outside world show: It seems that there is a problem with my Oauth process. But i am still not sure of that.
My log record is:
[shopify-api/ERROR] Could not find OAuth cookie | {shop: xxxxxx.myshopify.com}
CookieNotFound [Error]: Cannot complete OAuth process. Could not find an OAuth cookie for shop url
My code in auth:
let session = await Shopify.auth.callback({
rawRequest: req,
rawResponse: res,
});
Since my app has been delisted, this problem cannot be reproduced. Is there any Developers have encountered the same difficulties and urgently need some methods and suggestions,
thank you very much!