In the latest templates and libraries used httpsonly flag. How can I turn it off?
This same question is outdated and it did not have full configuration sample:
For my case in asp.net core 3.1 two things in combination did the trick
services.ConfigureApplicationCookie(options => { options.Cookie.SameSite = SameSiteMode.Unspecified; }); services.AddAntiforgery(opts => { opts.Cookie.SameSite = SameSiteMode.Unspecified; });