Koa app cookie infinite loop on Chrome

New Member
2 0 1


I have been using the official Koa authentication package from https://github.com/Shopify/quilt/tree/master/packages/koa-shopify-auth for my embedded Shopify application The issue is that I get the infinitely redirected to the enable_cookies page during the authentication process and back to the admin page. And this happens only on Chrome.

Funny enough, the same issue happens on the demo Koa project that I directly cloned. My understanding is that this happens due to the inability for cookies to communicate between third party contexts (that is now the default restriction in Chrome). I did read https://shopify.dev/tutorials/migrate-your-app-to-support-samesite-cookies and am going kind of insane. Please let me know if I am doing something very wrong.