Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Yes, by default, Asp .Net Core Identity logs out a user automatically after a certain period of inactivity. This period is determined by the CookieExpireTimeSpan option in the authentication cookie. By default, this is set to 14 days, but it can be configured to a different value in the application's startup code. This is a security feature designed to prevent unauthorized access to a user's account if they leave their computer unattended for an extended period of time.