[Hosted web app] Cookies do not set in Request Header

I developed a packaged app for installation on webOS 4.x TV and encountered a login issue, which I believe is due to limited cookie support on packaged apps, with full support available only for hosted apps. To address this, I redeployed the app as a hosted application by setting up URL redirection following LG’s official documentation. Unfortunately, the issue persists.

As shown in the screenshots below, the initial POST request for login executes successfully, and cookies are correctly stored in the browser’s Application tab. However, in subsequent GET requests, the cookies are not automatically included in the request headers, despite the app and backend being hosted under the same origin.

This problem does not occur on newer LG TVs running webOS 6.0 and above. I can only insert 1 image in this post so I combined 5 pics in vertical order Cookies in Application tab > Login request > GET request. I would highly appreciate any insights or solutions you could offer to help resolve this issue. Thank you!

Please set credentials to same-origin. The default credentials mode changed from omit to same-origin since Chrome 72. And webOS TV 4.x uses Chromium 53 and webOS TV 6.x uses Chromium 79. Thank you.

Awesome! it’s working now. Thank you so much for your help.