justinmahar / react-social-media-embed

📰 Easily embed social media posts from Facebook, Instagram, LinkedIn, Pinterest, TikTok, X (Twitter), and YouTube in React.
https://justinmahar.github.io/react-social-media-embed/
MIT License
220 stars 31 forks source link

Tiktok Embedded Video Cookies SameSite Page Error #45

Open jeyu21 opened 1 year ago

jeyu21 commented 1 year ago

My application uses a lot of embedded TikTok videos, which gives the same page error over and over: "Indicate whether a cookie is intended to be set in a cross-site context by specifying its SameSite attribute" and "Indicate whether to send a cookie in a cross-site request by specifying its SameSite attribute"

So the cookies should be set to the SameSite attribute "none." Is that something only Tiktok can change or something that could be updated with this package? Is there a way to circumvent this issue by editing or blocking Tiktok's cookies?

Thanks!