It is AuthenticationProperties config:
AuthenticationManager.SignIn(new AuthenticationProperties
{
IsPersistent = false,
AllowRefresh = true,
ExpiresUtc = DateTimeOffset.UtcNow.AddHours(int.Parse("2"))
}, identity);
after 2 hour user get error
400 (Empty or invalid anti forgery header token.)
how can I automatically redirect user to login page after getting this error? Aspnetboilerplate SPA+MVC+Angularjs version 5.10.1