MVC cookie 在谷歌90版本后跨域失败的问题
把cookie的 SameSite 设为none SecurePolicy设为Always
services.AddAuthentication(CookieAuthenticationDefaults.AuthenticationScheme). AddCookie(x => { x.Cookie.SecurePolicy = CookieSecurePolicy.Always; x.Cookie.SameSite = SameSiteMode.None; });