Unable to login into customer account - Using Shopify CLI 2.5.0

Topic summary

Main issue: On Shopify CLI 2.5.0, customer login on a local development server (using “shopify theme serve” at http://127.0.0.1:9292/account/login) fails—submitting credentials refreshes the page without authenticating.

Context: A prior community note claimed this was fixed in CLI 2.3, but the problem persists for this user on 2.5.0.

Key terms: Shopify CLI is the developer command‑line tool; “theme serve” runs a local preview server; localhost (127.0.0.1) is a local testing environment.

Status: No solution or workaround provided yet; help requested and the issue remains open.

Summarized with AI on March 1. AI used: gpt-5.

I’m using Shopify CLI 2.5.0, and no matter what I do, I cannot log in to customer accounts on localhost (development side — http://127.0.0.1:9292/account/login ). So I enter the login info, and it refreshes the page. I am using Shopify theme serve to run the development store.

I found no answer for it anywhere. Someone HERE said that Shopify fixed it on Shopify CLI 2.3, but it did not, at least not for me.

Please help!

2 Likes