Hi, I’m developing an app embed block for my theme app extension. This app embed block reads query parameters in the URL and if there is a specific parameter in the URL, I put some customer credentials in the form and then submit the form to login as a customer. When I do this, the store shows me that I’m already logged in, but sometimes even though it shows me that I’m logged in when I go to the customer profile or when I reload the page it turns out that I’m not actually logged in. I’ve already tried instead of using the form submit to click the form button with javascript and I get the same problem. This doesn’t happen to me all the time but it’s quite common. Any ideas?
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Track when a Customer Logs in/Logs out | 0 | 76 | June 18, 2024 | |
| Customer login function not working on homepage | 3 | 66 | May 22, 2021 | |
| Shopify custom form create customer not working | 8 | 290 | June 4, 2024 | |
| Customer object is not accessible even if user is logged in | 0 | 104 | February 24, 2025 | |
| custom coding and webpage not working after customer login was added to my shop 29. | 0 | 24 | October 30, 2024 |