When trying to edit pages under /account in the Shopify Theme Editor, I get redirected to the login page. However, I’m unable to complete the login process, and as a result, I can’t preview the page properly.
Issue Details- Navigating to /account in the Theme Editor redirects to the login page
Clicking “Sign up” on the login screen just returns me to the same page without completing login
I’m developing a custom app compatible with Online Store 2.0 using a Theme App Extension that extends customer-account pages
What I’ve Tried- I confirmed that I can log in and view /account correctly in the regular storefront (outside the editor)
I attempted to log in through the Theme Editor as well, but it had no effect
Question- Is there a way to properly preview pages under /account within the Theme Editor?
Additional Question
During development using a Theme App Extension, is there a way to test /account pages without logging in?
Is it possible to emulate a logged-in state within the Theme Editor?
Can I preview the extension UI without requiring login (e.g., via mock data or dev tools)?
Is there a way to temporarily bypass login checks during development?
It would be very helpful to improve development efficiency if such methods exist. Any advice would be appreciated!
Redirected to login page when editing /account pages in Shopify Theme Editor, unable to complete login, hindering preview.
Solutions:
Previewing /account Pages in Theme Editor:
Ensure you’re using new customer accounts (not classic) as they support UI extensions. Check via Shopify admin: Online Store > Customer Accounts.
Use a development store with generated test data to simulate customer accounts for preview. Access via Shopify CLI or Partner Dashboard.
Run shopify theme dev to preview locally, but note potential issues with password-protected stores. Try authenticating via browser instead of Theme Access app password.
Testing /account Pages Without Login:
No direct way to bypass login for /account pages in Theme Editor due to Shopify’s authentication redirect to the live site
Use Shopify CLI to emulate a logged-in state by creating a mock customer account in a development store. Navigate to Settings > Checkout > Customer Accounts, enable accounts, and create a test account.
Mock data can be used in development stores with generated test data to simulate customer account pages without real logins.
Theme App Extensions can be previewed in the Theme Editor without login by adding app blocks/embed blocks to an Online Store 2.0 theme (e.g., Horizon) and testing on a development store. Verify functionality via Shopify CLI’s npm run dev.
Bypassing Login Checks:
No official method to bypass login checks in Theme Editor, as Shopify enforces authentication for customer account pages.
Use Shopify’s Developer Tools (e.g., Shopify CLI or macOS Developer Tools in Beta) to generate test data and simulate logged-in states locally.
Alternatively, edit customers/login.liquid or use Locksmith app to customize login page behavior, but this doesn’t bypass authentication entirely.
Recommendation:
Set up a development store with test data and use Shopify CLI for local previews to streamline development. Contact Shopify Support or theme/app developer for persistent login issues
If my reply is helpful, kindly click like and mark it as an accepted solution.
Thanks!
Use our Big Bulk Discount app to boost your sales! (https://apps.shopify.com/big-bulk-discount). Easy to set up and perfect for attracting more customers with bulk discounts. Try it now and watch your revenue grow!
Thanks for your reply.
Sorry for not providing enough context earlier.
I’m developing a Theme App Extension. I’m working locally using a development store and running yarn shopify app dev with Shopify CLI. I’ve created a test customer account for login testing.
The extension is for the legacy customer account pages (/account). My goal is not to edit the theme but to test how the extension works on those pages.
I remember being able to log in and preview /account pages in the Theme Editor before. But now, even though the login screen shows up, entering valid credentials doesn’t redirect or show any result. Wrong credentials also don’t trigger errors. I think the login form inside the Theme Editor might not be working.
What I want is to:
Log in once inside the Theme Editor
Then check how the App Extension behaves on the /account page
I need to test the extension in a logged-in state.
If there’s a supported way to do this or any workaround, I’d appreciate it.
I’ve also attached a screenshot of the login screen in the Theme Editor.