So in my application I've configured the identity as:
services.ConfigureApplicationCookie(cfg =>
{
cfg.Cookie.Name = "application_ms_state";
cfg.Cookie.Expiration = TimeSpan.FromDays(1);
cfg.SlidingExpiration = true;
});
but the expiration happens in almost 20 minutes.could anyone shed some light on this?