【问题标题】:How can I fix this warning from Google Chrome? Cookie... `SameSite=None` but without `Secure`如何解决来自 Google Chrome 的此警告? Cookie... `SameSite=None` 但没有 `Secure`
【发布时间】:2020-02-02 04:33:07
【问题描述】:

这段代码 this.afAuth.auth.signInWithPopup(new auth.GoogleAuthProvider()) 正在 Chrome 上生成此警告:

http://google.com/ 的资源关联的 cookie 设置为 SameSite=None,但没有 Secure。未来版本的 Chrome 将仅在使用 SameSite=NoneSecure 设置的情况下提供带有跨站点请求的 cookie。

【问题讨论】:

  • This entry 可能会有所帮助
  • 你有什么解决办法吗?

标签: angular firebase google-chrome firebase-authentication


【解决方案1】:

How to fix "set SameSite cookie to none" warning? Chrome Extension找到了一个anwser

但它认为这是由于旧的 Google Analytics 设置造成的。

【讨论】:

  • 通常不鼓励仅链接的答案。您能否将网页中的重要信息添加到您的答案中?
猜你喜欢
  • 2020-02-10
  • 2020-02-25
  • 1970-01-01
  • 1970-01-01
  • 2020-02-01
  • 1970-01-01
  • 2020-11-01
  • 2020-02-04
相关资源
最近更新 更多