Five-Fifths-Voter icon indicating copy to clipboard operation
Five-Fifths-Voter copied to clipboard

amplitude cookie rejection warning

Open GeraldMit opened this issue 3 years ago • 5 comments

Describe the bug Seen when opening the browser console in Firefox.

Some cookies are misusing the recommended “SameSite“ attribute 6 Cookie “amplitude_cookie_test” will be soon rejected because it has the “SameSite” attribute set to “None” or an invalid value, without the “secure” attribute. To know more about the “SameSite“ attribute, read https://developer.mozilla.org/docs/Web/HTTP/Headers/Set-Cookie/SameSite amplitude.js:1476:2

Cookie “amplitude_cookie_test” will be soon rejected because it has the “SameSite” attribute set to “None” or an invalid value, without the “secure” attribute. To know more about the “SameSite“ attribute, read https://developer.mozilla.org/docs/Web/HTTP/Headers/Set-Cookie/SameSite amplitude.js:1476:2

Cookie “tld_test” will be soon rejected because it has the “SameSite” attribute set to “None” or an invalid value, without the “secure” attribute. To know more about the “SameSite“ attribute, read https://developer.mozilla.org/docs/Web/HTTP/Headers/Set-Cookie/SameSite 2 amplitude.js:1476:2

Cookie “amplitude_testfivefifthsvoter.com” will be soon rejected because it has the “SameSite” attribute set to “None” or an invalid value, without the “secure” attribute. To know more about the “SameSite“ attribute, read https://developer.mozilla.org/docs/Web/HTTP/Headers/Set-Cookie/SameSite 2 amplitude.js:1476:2

Cookie “amplitude_id_ce77e3704c5ecc2461e846f3061022c2fivefifthsvoter.com” will be soon rejected because it has the “SameSite” attribute set to “None” or an invalid value, without the “secure” attribute. To know more about the “SameSite“ attribute, read https://developer.mozilla.org/docs/Web/HTTP/Headers/Set-Cookie/SameSite amplitude.js:1476:2

Cookie “amplitude_id_ce77e3704c5ecc2461e846f3061022c2fivefifthsvoter.com” will be soon rejected because it has the “SameSite” attribute set to “None” or an invalid value, without the “secure” attribute. To know more about the “SameSite“ attribute, read https://developer.mozilla.org/docs/Web/HTTP/Headers/Set-Cookie/SameSite

To Reproduce Steps to reproduce the behavior:

  1. Use Firefox latest
  2. pen javascript console
  3. Go to https://www.fivefifthsvoter.com/#/journey
  4. See error

Expected behavior Not to have cookie warnings

Screenshots N/A

Desktop (please complete the following information):

  • OS: [e.g. iOS] MacOS 10.15.7
  • Browser [e.g. chrome, safari] Firefox
  • Version [e.g. 22] 89.0.2

Smartphone (please complete the following information): N/A

Additional context N/A

GeraldMit avatar Jul 16 '21 15:07 GeraldMit

@GeraldMit https://developers.amplitude.com/docs/advanced-settings#cookie-management

It looks like this is the right doc to help resolve this. There is a section on setting the SameSite attribute. https://developers.amplitude.com/docs/advanced-settings#samesite

davidnixon avatar Aug 01 '21 16:08 davidnixon

:wave: Hi! This issue has been marked stale due to inactivity. If no further activity occurs, it will automatically be closed.

github-actions[bot] avatar Sep 01 '21 01:09 github-actions[bot]

has this been fixed? @GeraldMit

cc: @upkarlidder

demilolu avatar Sep 26 '21 21:09 demilolu

No longer seeing it, on my current machine and Firfefox.

GeraldMit avatar Sep 26 '21 23:09 GeraldMit

:wave: Hi! This issue has been marked stale due to inactivity. If no further activity occurs, it will automatically be closed.

github-actions[bot] avatar Apr 22 '24 00:04 github-actions[bot]