Apple Intelligence is now available on iPhone, iPad, and Mac!

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

[Safari 14][SameSite]Cookie is blocked when SameSite is set to Lax

Reproduce Steps:

  1. Use window.open to open a new tab in Safari 14
  2. In the original tab, using JS to create a FORM in the new opened tab and submit to redirect to a specified URL
  3. The cookie info which's SameSite is set to Lax is lost in the new tab.


The reason should be, Safari 14 consider this scenario is carrying over cookie info from one tab to another tab and then block the cookies with SameSite set to Lax.


However, actually the FORM is created and submitted in the new tab, there is no CORS happens, Safari should not block the cookie.

Safari with old version and other browsers all will not block the cookie in this scenarios, so we consider this as an issue of Safari 14, please help verify. Thanks.

MacBook Pro 16″, macOS 11.3

Posted on Aug 5, 2021 1:28 AM

Reply
Question marked as Top-ranking reply

Posted on Aug 5, 2021 4:56 AM

Safari developer forum may be the appropriate forum for this type of a question.

https://developer.apple.com/forums/tags/safari-and-web

Similar questions

1 reply

[Safari 14][SameSite]Cookie is blocked when SameSite is set to Lax

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.