tinesoft/ngx-cookieconsent

Support for SameSite property

moodymood opened this issue · 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

Waiting for osano/cookieconsent#734 to be merged and v4 to be released,
so I can add this option on ngx-cookieconsent...

Interested in this as well. Any updates?