V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
qq1398371419

chrome://flags/#third-party-storage-partitioning 默认启用导致问题

  •  
  •   qq1398371419 ·
    gcdd1993 · Oct 13, 2023 · 1484 views
    This topic created in 933 days ago, the information mentioned may be changed or developed.

    公司的网站,A.com 是通行证用来登录,B.com 和 A 不在一个主域名下,用 iframe 嵌套 A 网站的页面,通过读取 A 的 localstorage 并 postMessage 给 B 网站,进行单点登录。 chrome://flags/#third-party-storage-partitioning 默认启用后,导致 B 嵌入的 A 页面读取不到自身的 localstorage 了,找了 2 天还是没找到解决办法,除了禁用这个特性,还有没有其他办法。。。 有没有大佬给个思路

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2675 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 03:33 · PVG 11:33 · LAX 20:33 · JFK 23:33
    ♥ Do have faith in what you're doing.