Join us for an upcoming Shopify Partner webinar on February 27, 2024. Discover the latest Checkout Extensibility features, and deep dive on improvements to Shopify Functions and Web Pixels. Register now for either the 10am EST or 2pm EST sessions.

Can't login when running on locally

zhicheng1
Shopify Partner
26 2 4

When I am running locally with shopify cli, I am unable to log in.  My site redirects to my shopify hosted site when I try to log in locally.  Even if I change the postback url to my local ip, I will just get stuck on the captcha page again and again.  Anyone have a way to get past this issue?

Replies 3 (3)

SBD_
Shopify Staff
1788 265 384

Hey @zhicheng1 

 

🤔 Strange! Any chance you could share a screen recording?

Scott | Developer Advocate @ Shopify 

zhicheng1
Shopify Partner
26 2 4

Here's a recording.  Notice that it transitions from local to myshopify after submit.  If I go back to local, I am still not logged in.

Liam
Shopify Staff
2677 288 735

Hi Zhicheng1,

 

Are you using the most up to date version of the CLI?

Liam | Developer Advocate @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit Shopify.dev or the Shopify Web Design and Development Blog