chrom後端設置cookie失敗跨域問題報錯the set-cookie had to have been set with 「sameSite=None「 to enable cross-si

vue項目運行登錄後,後端設置了cookie;但是我是本地起得項目所以現在一直報錯登錄過期問題; 一、後端設置的set-cookie黃色警告報錯 the set-cookie had to have been set with 「sameSite=None」 to enable cross-site usage Samesite有三個值,None, Lax,Strict.這個參數是防止跨站攻擊用的
相關文章
相關標籤/搜索