Persistent Shopify CLI Login Issue Despite Correct Permissions

Hi everyone,

I am facing an ongoing issue with Shopify CLI when trying to authenticate for theme development. Despite having all the required permissions and following every recommended step, I cannot get past the login step. The system fails to authenticate, although I’m certain it’s not related to permissions or roles.

What I’ve Tried So Far

  1. Installed Node.js (v22.12.0) and Shopify CLI using:
    npm install -g @shopify/cli @shopify/theme
    
  2. Logged in via CLI:
    shopify login --store <store-name>.myshopify.com
    
  3. Verified that my Shopify Partners account has admin-level permissions and full theme development roles enabled.
  4. Tested multiple devices, browsers (including incognito mode), and networks to rule out local or session-related issues.
  5. Reached out to Shopify Support, and they confirmed that the permissions are correct but couldn’t pinpoint the issue.
  6. Confirmed that both Node.js and Shopify CLI are up to date.

Current Behavior

  • Expected: Shopify CLI should successfully log in and allow the shopify theme dev command to run.
  • Actual: Login fails with no meaningful error message, even after extensive troubleshooting.

Environment Details

  • Operating System: [Insert your OS: e.g., Windows 10, macOS Ventura]
  • Node.js Version: v22.12.0
  • Shopify CLI Version: [Insert specific CLI version]
  • Development Store Type: Shopify Development Store (via Shopify Partners)

Additional Information

  • Shopify Support suggested it could be related to technical complexities rather than permissions.
  • This issue significantly affects my workflow since it prevents me from using Shopify CLI effectively.
  • I’m requesting guidance from the community:
    • Has anyone experienced similar authentication issues despite correct roles and permissions?
    • Are there additional troubleshooting steps I should try?

Any help or insights would be greatly appreciated.

Thanks in advance!

Hi Alfredo,

I’ve heard of something similar happening before - one thing you could try is to login into the connected store by browser (eg: login at storename.myshopify.com/admin ) using your partner credentials, then run shopify login --store <store-name>.myshopify.com again.

I have tried that before, thanks Liam

When you run shopify login - does this work? What exactly happens when you run shopify theme dev?