DFE-Digital / polis-whitelabel

:milky_way: Open Source AI for large scale open ended feedback
https://pol.is
GNU Affero General Public License v3.0
3 stars 0 forks source link

Investigate if 'parent_url', 'referrer', 'e', 'uc', 'pc', 'uid2' cookies are necessary for pol.is to function #26

Open brendanarnold opened 1 year ago

brendanarnold commented 1 year ago

Its not clear if these cookies are redundant and can be easily removed. After checking, update the cookie policy template and create tickets if there is any follow up work.

patcon commented 1 year ago

You'll want to try a full e2e test suite in various forms of embedding (embed and also integration, which is diff) to ensure that this doesn't break functionality.

Perhaps worth writing e2e tests for embed/integration actions (vote/submit/sign-in) before messing with cookies. There might be subtle failures, and would be great to map expected behavior to tests before stripping out too many code paths 😊 )