0

I'm having an issue where the Chrome DevTools Protocol returns { success: false } when sending a Network.setCookie request with sameSite set to "None".

What could the issue be? "Lax" and "Strict" appear to work fine.

Zach Bloomquist
  • 5,309
  • 29
  • 44

1 Answers1

1

sameSite can only be set to "None" on a secure cookie. Try passing { sameSite: "None", secure: true }.

More info on SameSite=None: https://web.dev/samesite-cookies-explained/#changes-to-the-default-behavior-without-samesite

Zach Bloomquist
  • 5,309
  • 29
  • 44