Closed divaypandey closed 1 year ago
You need to use the requestStorageAccess()
API for such a scenario. CHIPS won't help you.
@divaypandey As Anne mentioned, you are looking for Storage Access API. The API is already supported on Safari, Firefox, and Edge; and we are in the process of rolling out support in Chrome. In the meantime, you can also test the API locally in Chrome using these instructions. If you have any feedback, please leave it on on the Storage Access API GitHub repository.
Assuming a "customer care" chat-service exists on
chat.site
, if the user authenticates onchat.site
setting a JWT/RT cookie and a client site, lets saycar-dealer.site
embeds an iFrame-chat-box hostingchat.site
, if 3PCs are blocked, thechat.site
's RT/JWT-cookies aren't forwarded to the iFrame (whose src is set tochat.site
, hosted insidecar-dealer.site
) and the user remains unauthenticatedNow, lets say the user authenticates from within the iFrame and a partitioned cookie is set, in that case the JWT/RT is available if the user is within
car-dealer.site
, but now if they go tocar-spares.site
, they're unauthenticated again in the chat service's iFrame and have to follow the authentication route againThe general problem will exist on any authenticated-embeddable context that intends to live across websites
Hence, enforcing CHIPS while blocking 3PCs will be a breaking change for this scenario, how does CHIPS intend to handle this?