qq1398371419

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

  •  
  •   qq1398371419 ·
    gcdd1993 · Oct 13, 2023 · 2056 views
    This topic created in 1127 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   ·   Privacy   ·   Solana   ·   2414 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 03:15 · PVG 11:15 · LAX 19:15 · JFK 22:15
    ♥ Do have faith in what you're doing.