79435572

Date: 2025-02-13 09:03:04
Score: 1.5
Natty:
Report link

CreateConsentCookie method generates cookie as samesite=none. To have it up and running with chrome you have to use new Setting: ; Secure.

Solution will be:

consentFeature?.CreateConsentCookie() + "; Secure"

Following docs: https://developers.google.com/search/blog/2020/01/get-ready-for-new-samesitenone-secure?hl=pl

Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Marcin