huacnlee / rucaptcha

Captcha Gem for Rails, which generates captcha image by Rust.
https://huacnlee.github.io/rucaptcha
MIT License
693 stars 133 forks source link

当表单通过 iframe 的方式嵌入到第三方网站时,不能在 Safari 和 Firefox 下工作 #107

Open wongyouth opened 7 months ago

wongyouth commented 7 months ago

Safari 和 Firefox 默认情况下不支持第三方的 cookies。能否升级为不使用 cookies,改成表单内嵌入一个隐藏的字段含有原先的 session id 值去做比较。

wongyouth commented 7 months ago

For anyone encountering the same issue, I created a gem at https://github.com/wongyouth/rucaptcha_no_cookies as a temporary fix.

wongyouth commented 7 months ago

The timeline of third-party cookie deprecation of Chrome. https://developers.google.com/privacy-sandbox/3pcd