How to Adjust the SameSite Attribute of the Authentication Cookie in a Sitecore Commerce Solution with a Federated Payment Provider

How to Adjust the SameSite Attribute of the Authentication Cookie in a Sitecore Commerce Solution with a Federated Payment Provider

Few weeks ago Google Chrome has started to gradually enforce a new behavior for the SameSite attribute of cookies on its latest stable version of the browser, Chrome version 80. This is also when the checkout process in the Sitecore Commerce 9.1 solution of one of my clients started to fail.

In this blog post I will describe the steps taken to troubleshoot and reproduce this issue, the requirements to manage the SameSite attribute in a .NET solution and its compatibility with Sitecore, and finally the implemented solution to adjust the SameSite attribute value of the authentication cookie.

CONTINUE READING