ngx-cookieconsent icon indicating copy to clipboard operation
ngx-cookieconsent copied to clipboard

Support for SameSite property

Open moodymood opened this issue 3 years ago • 3 comments

Request Ttype

- [ ] bug report -> please search issues before submitting
- [x ] feature request

CookieConsent and Library Versions

- cookieconsent version: 3.1.1
- ngx-cookieconsent version: 2.2.3

The log

On Firefox Cookie “cookieconsent_status” 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

Desired functionality

Allow setting SameSite property in NgcCookieOptions https://tinesoft.github.io/ngx-cookieconsent/doc/classes/NgcCookieOptions.html

moodymood avatar Oct 21 '20 12:10 moodymood

Waiting for https://github.com/osano/cookieconsent/pull/734 to be merged and v4 to be released, so I can add this option on ngx-cookieconsent...

tinesoft avatar Jul 07 '21 17:07 tinesoft

@tinesoft could you pick up from https://github.com/Enaah/cookieconsent/tree/fix-cookie--no-sameSite-attribute ?

MatheusDaros avatar Oct 23 '21 01:10 MatheusDaros

Interested in this as well. Any updates?

alexantonica avatar Feb 04 '24 12:02 alexantonica