cli: `theme dev` doesn't support captcha on customer login page
Issue summary
When Captcha support is enabled, browsing to http://127.0.0.1:9292/account/login will sometimes trigger the captcha. Submitting the captcha on http://127.0.0.1:9292/challenge just redirects back to the same page.
Expected behavior
Solving the captcha should log you in as a customer.
Actual behavior
It just circles back to http://127.0.0.1:9292/challenge.
Tip: include an error message (in a <details></details> tag) if your issue is related to an error
Steps to reproduce the problem
- Enable captcha & Customer login in shop settings
shopify theme serve- Browse to http://127.0.0.1:9292/account/login
- Submit a bad login
- You should be redirected to http://127.0.0.1:9292/challenge
- Solving the captcha and clicking “Submit” redirects you back to http://127.0.0.1:9292/challenge
Workaround
Disable captcha for Customer Login.
Specifications
- App type: theme
- Operating System: macOS
- Shell: zsh
- Ruby version (ruby -v): 2.7.1
About this issue
- Original URL
- State: open
- Created 3 years ago
- Reactions: 5
- Comments: 34 (10 by maintainers)
This issue seems inactive. If it’s still relevant, please add a comment saying so. Otherwise, take no action.
→ If there’s no activity within a week, then a bot will automatically close this.
Thanks for helping to improve Shopify’s dev tooling and experience.
@waxit-dev haha, only 5000?
you should be able to preview the theme using the ?preview_theme_id link as mentioned further up this thread
unfortunately no hot reload. if I am doing a lot of detail work on customer account layouts I’ll usually use placeholder content in a regular page template until I’m ready to test with live accounts
Disabling the reCAPTCHA worked great! I was able to login and complete testing on the localhost preview no problem. And only ended up with about 5000 bot accounts added to the store by the end of it… -_-
Is there any other work arounds aside from turning off captcha? Developing a theme on a live store for a client and don’t want to mess with their settings.
Doesn’t this load the version of the site that is pushed up to Shopify and not what is on the local machine?
Still active
Unfortunately, this doesn’t apply to this issue. This is an issue during theme development with Shopify itself and local vs server-side development. This happens without any type of apps installed.
Still very much active. Someone should increase the bot threshold
Still happening, do we have any reported progress?
This issue seems inactive. If it’s still relevant, please add a comment saying so. Otherwise, take no action. → If there’s no activity within a week, then a bot will automatically close this. Thanks for helping to improve Shopify’s dev tooling and experience.
P.S. You can learn more about why we stale issues here.
This issue seems inactive. If it’s still relevant, please add a comment saying so. Otherwise, take no action. → If there’s no activity within a week, then a bot will automatically close this. Thanks for helping to improve Shopify’s dev tooling and experience.
P.S. You can learn more about why we stale issues here.
This issue seems inactive. If it’s still relevant, please add a comment saying so. Otherwise, take no action.
→ If there’s no activity within a week, then a bot will automatically close this.
Thanks for helping to improve Shopify’s dev tooling and experience.
use the url with this format https://mysitename.myshopify.com/?preview_theme_id=129204027619
instead of the localhost url (http://127.0.0.1:9292)