xavierbriole / react-cookienotice

A lightweight & customizable cookie banner for your React App
https://react-cookienotice.vercel.app
18 stars 5 forks source link

Feature Request: Include 'SameSite=none' Attribute in Set Cookies #200

Closed xavierbriole closed 5 months ago

xavierbriole commented 5 months ago

Discussed in https://github.com/xavierbriole/react-cookienotice/discussions/199

Originally posted by **jlizancandela** March 18, 2024 Hello! First, I want to express my gratitude for all the work you've put into this React component and for sharing it with the community. I'd like to suggest a small enhancement for future releases. Since browsers are implementing changes to cookie policies, it would be beneficial to include the "SameSite=none" attribute in cookies set by this component. This will help ensure its compatibility with upcoming changes and avoid potential security issues in the future. Thank you again for your contribution and for considering this suggestion! Best regards, jlizancandela