Hi there, I have a dev store with custom domain assigned to it like: xyz.com while myshopify store address is like: abc-sdf-dev.myshopify.com so on the new dev platform here https://dev.shopify.com/dashboard/<org id>/stores when I try to login to the dev shop it redirects me to this url https://admin.shopify.com/store/xyz instead of https://admin.shopify.com/store/abc-sdf-dev this causes an issue:
There’s a problem loading this page
There’s a technical problem with Shopify that has prevented this page from loading. Try reloading this page or going back to the Stores List page.
This also causes another issue related to Shopify CLI, when I try to start app dev server npm run dev which is shopify app dev command, CLI can’t find shop (same shop I described above) saying:
Could not find Store for domain xyz.com.myshopify.com in Organization <Organization>
So CLI picks wrong shop domain instead of xyz.com.myshopify.com it has to be abc-sdf-dev.myshopify.com
Have the same issue, seems when you run shopify app dev, it changes the toml to be the main store domain (custom one) so you’re unable to overwrite
```
ou are not authorized to use the CLI to develop in the provided store: │
│ *****.com.myshopify.com │
│ │
│ Next steps │
│ • Ensure you have logged in to the store using the Shopify admin at │
│ least once. │
│ • Ensure you are the store owner, or have a staff account if you are │
│ attempting to log in to a development store. │
│ • Ensure you are using the permanent store domain, not a vanity domain.
```
Hi guys, thanks for the update, in my case it’s not a big issue so I just made .myshopify.com domain of the store as primary and custom *.com as redirect to .myshopify.com, it fixes both issues dev dashboard and cli.
As for Isaacs update on the issue, I’ve just updated cli to the suggested snapshot and it works fine with the custom domain for me but moving back to latest version as it’s not a blocker for me.
Looks like this is working now in latest stable cli: @shopify/cli/3.87.1 darwin-arm64 node-v20.12.2
I did have one additional complicating factor which is that we renamed our myshopify domain, and it only works when the original myshopify domain is used as the dev_store_url.