Add Same Site for Anti forgery cookie
damienbod opened this issue · comments
damienbod commented
Add Same Site for Anti forgery cookie
damienbod commented
services.AddAntiforgery(options =>
{
options.SuppressXFrameOptionsHeader = true;
options.Cookie.SameSite = SameSiteMode.Strict;
options.Cookie.SecurePolicy = CookieSecurePolicy.Always;
});