When I start and type https://xxxx/login?shop=yyy.myshopify.com in browser, it goes to installation page to ask for permission. However, it does not works when I select a store to test from my app. There is no ‘/login’ in url
I have fixed this by adding
app.get('/)', async (req, res) => {
return res.redirect(‘/login?${req.query.shop}’);
});
However, it get’s caught in a redirect loop. App is installed incorrectly. It displays: “The app couldn’t be loaded. The app can’t load due to an issue with browser cookies. Try enabling cookies in your browser …”
I started application by “shopify app serve”
Any help here is appreciated.
Thanks.
When I start and type https://xxxx/login?shop=yyy.myshopify.com in browser, it goes to installation page to ask for permission. However, it does not works when I select a store to test from my app. There is no ‘/login’ in url
I have fixed this by adding app.get('/)', async (req, res) => { return res.redirect(‘/login?${req.query.shop}’); }); However, it get’s caught in a redirect loop. App is installed incorrectly. It displays: “The app couldn’t be loaded. The app can’t load due to an issue with browser cookies. Try enabling cookies in your browser …”
I started application by “shopify app serve” Any help here is appreciated. Thanks.