how to get store domain during the installation process in test app

how to get store domain during the installation process in test app

bonyeon
Shopify Partner
1 0 0

Currently, there is a content not to request Shopify App approval review process myshopify.com or shop domain information.

So I'm trying to work in the direction of redirecting to install url like other apps that have been approved for official apps.

However, currently my app is not an officially approved app, so there is no official installation url page information like https://apps.shopify.com/mailchimp

In this case, I wonder how to get store domain information and configure logic to proceed with the installation process without shopify login to pass the app approval review.

The current structure is a method in which the store information of myshopify.com url is directly entered by the shop's owner to install the app during the installation process.

 

current process
user enter store domain in mine page -> xxxxx.myshopify.com -> open shopify app install page -> click install button in shopify page -> finish installation

 

expectation process
user click install button in mine page -> after log in, select your store -> open shopify app install page -> click install button in shopify page -> finish installation

Reply 1 (1)

magecomp
Shopify Partner
434 29 44

Hello @bonyeon 


Bypassing Shopify Login During App Installation is Not Recommended
It is strongly recommended to follow Shopify's app development guidelines and use the official installation flow with Shopify login. This approach enhances security and user trust in your app.

 

  • Storing shop domain information on your server introduces a security risk if your app is compromised.
  • Shopify's app review process might reject your app if it requests sensitive information like the shop domain without authorization.
Helping voluntarily. Please like and accept the solution if it helps. Thanks!
Our Bestseller Shopify Apps    |      Mobile App Builder by MageComp    |      Shoplock Hide Pages/Collections

Need a developer?  Just visit MageComp website