Problem/Motivation

When using domain access and having multiple sub-domain : xxx.AAA.com, AAA.com, yyy.AAA.com
The banner is showing for each domain, even if you accept all the cookie.

We did set the cookie_domain in services.yml.

When analysing the cookie in browser :
the domain set is xxx.AAA.com and not the cookie_domaine set in services.yml

Steps to reproduce

Having a drupal site with domain_access and multiple domain.

Having orejime set and configured.

Navigate between the sub-domain and see the banner.

Proposed resolution

Acceptation on one sub domain should be good for all other domain.

Comments

judapriest created an issue. See original summary.

fabsgugu’s picture

Assigned: Unassigned » fabsgugu
judapriest’s picture

Did some test with eu_cookie_compliance :

  • Same result on fresh install, the banner is showing on all domain
  • But they have a configuration field "domain list", and when listing all domains, the banner is showing only to the first sub-domain

I hope that could be of any help.

  • Fabsgugu committed 2fef3e1 on 8.x-1.x
    Issue #3203017 by judapriest, Fabsgugu: Support for multiple domain
    
fabsgugu’s picture

Status: Active » Fixed

Hello,

I added the cookie_domain parameter of the orejime library. I tested on my local environment it seems to work.
I will switch to an rc7 version. It will be necessary to switch to the latest version of the library (2.0.1).

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.