Hi @utopkar ,
ASPNET Core MVC template by default includes this in Startup.cs → ConfigureServices:
services.Configure<CookiePolicyOptions>(options =>
{
// This lambda determines whether user consent for non-essential cookies is needed for a given request.
options.CheckConsentNeeded = context => true;
options.MinimumSameSitePolicy = SameSiteMode.None;
});
And this in Startup.cs → Configure:
app.UseCookiePolicy();
You need to have both removed or both included, otherwise you will get the correlation error.
See this dev forum question for reference: