XSRF-TOKEN can not be set in Safari 17.0 over IPv6

Hi,

When we using Safari on MacOS with IPv6 we found that the XSRF-TOKEN can be set into the cookies. We have set-cookie in the authentication response headers 'Set-Cookie: XSRF-TOKEN=*******; SameSite=Strict; Secure'.

It works by using Safari with IPv4. And also works with Chrome/FireFox with IPv4/IPv6. And also worked with Safari 15.6.1 over IPv6.

May I know if this an issue or by design? Anyone aware of this?

Thanks.

XSRF-TOKEN can not be set in Safari 17.0 over IPv6
 
 
Q