Unable to log into customer account when using shopify theme serve

Solved
Allan-EP
Shopify Partner
32 0 41

Using the CLI command shopify theme serve I'm unable to log into a customer account to be able to preview/modify those templates. My guess is there's some kind of authentication/cookie issue since it's at http://127.0.0.1:9292/ but this is a significant road block for using the CLI for development. Has anyone run into this and found a fix?

Replies 23 (23)
zero_nelson
Shopify Partner
2 0 0

Thanks. One issue though: Ruby gems doesn't have any version after 2.19…

zero_nelson
Shopify Partner
2 0 0

Thanks. One issue though: Ruby gems doesn't have any version after 2.19, how can we upgrade with Ruby?

SingleMusic
Shopify Partner
10 0 1

This issue appears to be back. I cannot log in to a customer account locally.

 

  @Shopify/cli/3.21.0 darwin-arm64 node-v18.11.0

vipul28
Shopify Partner
1 0 0

I am facing the same issue.
As soon as you complete captcha it redirects to the website with actual address instead of localhost which breaks the link and hot reload functionality. If anyone has a solution, please refer.
Shopify CLI version 3.44.1