Shopify CLI Auth Flow Exits Early

Topic summary

  • Environment: Shopify CLI 3.87.4 (win32-x64), Node v20.17.0, running in Windows PowerShell.

  • Issue: Attempting to log in via the CLI-provided link triggers an authentication flow that exits automatically before the user can confirm, preventing completion of login.

  • Impact: The user cannot authenticate, blocking use of CLI commands that require a signed-in session.

  • Details provided: No error messages, logs, or additional steps reported; only that the flow closes too quickly after clicking the link.

  • Definitions: “Shopify CLI” is Shopify’s command-line tool; the “auth flow” is the login/authorization process initiated (typically in a browser) by the CLI.

  • Status: Unresolved; the user is asking for help and no solutions or follow-ups are present yet.

Summarized with AI on December 11. AI used: gpt-5.

shopify/cli/3.87.4 win32-x64 node-v20.17.0

Running in Windows PowerShell. I try and login by clicking the link and the auth flow exits automatically before I have chance to confirm it.

Help?