ABP The required antiforgery cookie

2021-07-08 20:43:47.187 +08:00 [INF] Initialized all ABP modules.
2021-07-08 20:43:49.317 +08:00 [ERR] The required antiforgery cookie ".AspNetCore.Antiforgery.O8uYkIqhOQY" is not present.
2021-07-08 20:44:39.149 +08:00 [ERR] The required antiforgery cookie ".AspNetCore.Antiforgery.O8uYkIqhOQY" is not present.

 Configure<AbpAntiForgeryOptions>(options =>
            {
                options.TokenCookie.SameSite = Microsoft.AspNetCore.Http.SameSiteMode.Lax;
                options.TokenCookie.Expiration = TimeSpan.FromDays(365);
                options.AutoValidateIgnoredHttpMethods.Add("POST");
            });

上一篇:Microsoft Visual C++ 14.0 or greater is required的解决方法


下一篇:spring嵌套事务