{"id":8486,"date":"2020-04-01T06:14:21","date_gmt":"2020-04-01T10:14:21","guid":{"rendered":"http:\/\/local.brightwhiz\/?p=8486"},"modified":"2022-01-05T15:46:05","modified_gmt":"2022-01-05T20:46:05","slug":"fix-samesite-attribute-warning","status":"publish","type":"post","link":"http:\/\/local.brightwhiz\/fix-samesite-attribute-warning\/","title":{"rendered":"How to Fix SameSite Attribute Warning in Google Chrome"},"content":{"rendered":"\n

You may run into the SameSite attribute warning in Google Chrome developer tools when accessing some websites. This is an important warning that the web browsers are rejecting these cookies.<\/p>\n\n\n\n

You can tell if you are affected if you head on over to the web browser developer tools and see such a message.<\/p>\n\n\n\n

A cookie associated with a cross-site resource at http:\/\/wp.com\/ was set without the SameSite attribute. A future release of Chrome will only deliver cookies with cross-site requests if they are set with SameSite=None and Secure. You can review cookies in developer tools under Application>Storage>Cookies<\/strong> \u2026<\/em><\/p>\n\n\n\n

This issue can be of some concern to developers who do not understand what is going on. Again this warning may show up several times per page especially when using CMS’s like WordPress<\/a> loaded with plugins that compound the issue.<\/p>\n\n\n\n

The SameSite attribute tells web browsers whether or not to allow cookies in first or third-party situations. As of February 4th, 2020, Google Chrome 80 browser enforces first-party default on all cookies that don’t have the attribute set. <\/p>\n\n\n\n

What are the values for the SameSite attribute?<\/h2>\n\n\n\n

Values for the SameSite attribute include:<\/p>\n\n\n\n