Shopify CLI store Login Issue

Topic summary

Login via Shopify CLI to a development store is failing with a timeout and an unsuccessful OAuth callback to localhost.

  • Steps taken: Running “shopify login --store [store url]” shows “X Timed out while waiting for a response from Shopify,” then prompts an OAuth authorization URL. After opening the link and entering a username, the browser redirects to 127.0.0.1:3456 and shows “This site cannot be reached.”
  • Context: Shopify CLI is the command-line tool for Shopify development. The OAuth flow uses a redirect to 127.0.0.1 (localhost) to complete authentication; the error suggests the local callback isn’t reachable.
  • Attempted workaround: Another participant suggested creating a new admin user and logging in with it. The original poster tried this, but the same issue persisted.

Outcome and status:

  • No resolution yet. The problem remains after trying an alternative admin account.
  • The thread is open with a request for further guidance; no additional troubleshooting steps or decisions have been provided.
Summarized with AI on February 14. AI used: gpt-5.

Hi, I am having issues with Shopify CLI. I am unable to log in to my development store which I made for CLI Testing.

After command $ shopify login --store [store url] it returns with following:

┃ X Timed out while waiting for a response from Shopify
√ Initiating authentication
Please open this URL in your browser:
https://accounts.shopify.com/oauth/authorize?client_id=fbdb2649-e327-4907-8f67-908d24cfd7e3&scope=openid+https%3A%2F%2Fapi.shopify.com%2Fauth%2Fshop.admin.graphql+https%3A%2F%2Fapi.shopify.com%2Fauth%2Fshop.admin.themes+https%3A%2F%2Fapi.shopify.com%2Fauth%2Fpartners.collaborator-relationships.readonly+https%3A%2F%2Fapi.shopify.com%2Fauth%2Fshop.storefront-renderer.devtools+https%3A%2F%2Fapi.shopify.com%2Fauth%2Fpartners.app.cli.access&redirect_uri=http%3A%2F%2F127.0.0.1%3A3456&state=5d11102dd76eee4e197c6211da63cfab6b966b5907513d10f6b36e7016ff&response_type=code&code_challenge=_D3zK4w7vKhvl2lS9NAkQGW1n9PlMwUlPc4u3AJ9uY4&code_challenge_method=S256

After Entering the above URL in the browser it displays the login page. then after entering a username, it goes to 127.0.0.1 and This site can not be reached.

Is anyone here to guide?

Thanks,

If you are are admin user of that store, create another user and try to login through it.

1 Like

still have the same issue.