Accessibility of partition cookies

197 views Asked by At

While engaged in a project, I recently encountered a specific situation involving cookies.

To illustrate, consider a scenario where I have a domain named parent.com containing an iframe named iframe.com. Consequently, all cookies generated by iframe.com are treated as third-party cookies. In light of Google's upcoming phase-out of third-party cookies, I have currently configured these cookies as partition cookies. Specifically, The partition key is set for all these cookies as parent.com by the browser, making them accessible within that domain.

However, I've encountered an issue when visiting a domain like a.iframe.com as the main domain in a new tab. In this case, partition cookies are not accessible, unlike unpartitioned cookies, which were functioning correctly.

I would appreciate any insights or suggestions on how to resolve this matter.

0

There are 0 answers