Angular 如何修复Google Chrome中的此警告?饼干`SameSite=None`但不带'Secure'`

Angular 如何修复Google Chrome中的此警告?饼干`SameSite=None`但不带'Secure'`,angular,firebase,google-chrome,firebase-authentication,Angular,Firebase,Google Chrome,Firebase Authentication,这段代码 this.afAuth.auth.signInWithPopup(new auth.GoogleAuthProvider()) 正在Chrome上生成此警告: 与位于的资源关联的cookie设置为SameSite=None,但未设置Secure。如果Chrome的未来版本设置为SameSite=None和Secure,在以下位置找到anwser,则Chrome的未来版本将只提供带有跨站点请求的Cookie: 但它认为这是由于一个旧的谷歌分析设置。通常不鼓励只提供链接的答案。你能把网页上

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

与位于的资源关联的cookie设置为
SameSite=None
,但未设置
Secure
。如果Chrome的未来版本设置为
SameSite=None
Secure
,在以下位置找到anwser,则Chrome的未来版本将只提供带有跨站点请求的Cookie:


但它认为这是由于一个旧的谷歌分析设置。

通常不鼓励只提供链接的答案。你能把网页上的重要信息添加到你的答案中吗?可能会有所帮助你有什么解决办法吗?