Same Site Cookie Support for AEM 6.5

Since version 80, Chrome, and later Safari, introduced a new model for cookie security. This mode is designed to introduce security controls around availability of cookies to third party sites, through a setting called SameSite. For more detailed information, see this article.

The default value of this setting (SameSite=Lax) might cause authentication between AEM instances or services to not work. This is because the domains or URL structures of these services might not fall under the constraints of this cookie policy.

In order to get around this, you need to set the SameSite cookie attribe to None for the login token.

You can do this by following the below steps:

  1. Go to the Web Console at http://serveraddress:serverport/system/console/configMgr
  2. Search for and click the Adobe Granite Token Authentication Handler
  3. Set the SameSite attribute for the login-token cookie to None, as shown in the image below
    samesite
  4. Click Save
  5. Once this setting is updated and users are logged out and logged in again, login-token cookies will have the None attribute set and will be included in cross-site requests.

On this page

Adobe Maker Awards Banner

Time to shine!

Apply now for the 2021 Adobe Experience Maker Awards.

Apply now
Adobe Maker Awards Banner

Time to shine!

Apply now for the 2021 Adobe Experience Maker Awards.

Apply now