Chrome 80开始策略变更了,导致跨域登录失效

楼主
我是社区第189088位番薯,欢迎点我头像关注我哦~
Chrome 80开始策略变更了,导致跨域登录失效。其它浏览器也会陆续跟进的,请尽快修复。
A cookie associated with a cross-site resource at http:// was set without the `SameSite` attribute. It has been blocked, as Chrome now only delivers cookies with cross-site requests if they are set with `SameSite=None` and `Secure`. You can review cookies in developer tools under Application>Storage>Cookies and see more details at https://www.chromestatus.com/feature/5088147346030592 and https://www.chromestatus.com/feature/5633521622188032.

编辑于 2020-4-1 09:40  
分享扩散:

沙发
发表于 2020-4-1 10:41:02
由于 Chrome浏览器的新版本(800)以上修改
了安全策略,因此登录网站会失败。
当前解决方案
打开 Chrome浏览器后,在地址栏输入
chrome: //flags/
然后,在搜索框中输入“ Same Site”,找到“ Same Site
by default cookies”选项,将其“ Disable”掉,重启浏
览器,现在再登录就没问题了。
板凳
发表于 2020-4-1 10:46:15
还有一种方法 可以参考一下 https://blog.csdn.net/weixin_420 ... tails/104957315?%3E
地板
发表于 2020-4-1 16:08:05
前段时间社区各站点单点登录也遇到了这个问题,已经做了兼容
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

6回帖数 1关注人数 5412浏览人数
最后回复于:2020-8-14 08:02

返回顶部 返回列表