-
Notifications
You must be signed in to change notification settings - Fork 202
Description
Please confirm that you have:
- Searched existing issues to see if your issue is a duplicate. (If you’ve found a duplicate issue, feel free to add additional information in a comment on it.)
- Reproduced the issue in the latest CLI version.
In which of these areas are you experiencing a problem?
App
Expected behavior
Should be able to log in (ideally with new customer accounts system) and retain the customer session while developing a theme app extension. This will allow developing extensions that depend on the customer being logged in.
Actual behavior
New customer accounts does not appear to be supported - this doesn't seem to be documented.
After switching to legacy customer accounts, it is possible to visit http://127.0.0.1:9293/account/login and log in. The session is retained when navigating to other pages (ie. the page where the app extension is installed). However, this is temporary, and the user is logged out when the app encounters any errors or is idle for more than a few minutes.
This leads to having to log in very frequently and is frustrating Dx.
Verbose output
N/A
Reproduction steps
- Create theme app extension
- Log in at http://127.0.0.1:9293/account/login
- Add some conditional code that depends on the customer
- See that the customer is frequently logged out during development
Operating System
Mac OS Ventura
Shopify CLI version (shopify --version
)
3.83.3
Shell
zsh
Node version (run node -v
if you're not sure)
No response
What language and version are you using in your application?
No response