Shopify CLI : Shopify login command not working on the live server

sbdev
Shopify Partner
48 0 10

Hello Team,

We are trying to create a theme app extension. For that, we have installed Shopify CLI or our shared hosting / live server.
When I run "Shopify login" it gives me the URL to run on the browser.

Reference: https://prnt.sc/23yx1fa

After visiting this URL it shows up my Shopify accounts but when I select the account we land on an URL starting from "127.0.0.1"
and we get this issue.

Reference: https://prnt.sc/23yxg77

This issue only occurs when I do this from my shared hosting, However, I have Shopify CLI in my windows 10, and when I do this for the local environment. It works like a charm. Kindly help me to solve this so that I can take up the Shopify CLI on the server.

Replies 2 (2)
Zworthkey
Shopify Partner
5581 642 1560
sbdev
Shopify Partner
48 0 10

Hello @Zworthkey 

Thank you for your time and reply. I have read all the possible documentation for Shopify CLI. However, this is the issue we are facing while running Shopify CLI on the live server. None of the Shopify documentation talked about having Shopify CLI on the server.

Hoping for help from a Shopify person if they can understand our issue.