Managing Cookie Lifetime with ASP.NET Core OAuth 2.0 providers

added by DotNetKicks
12/5/2016 5:29:30 PM


I recently received a support request from a customer regarding the session lifetime once a user has signed in using Auth0 as they wanted the users to remain logged in across browser sessions. For our Auth0 integration with ASP.NET Core we have written no special middleware and instead rely on the standard OpenID Connect or OAuth2 middleware for authenticating users in MVC applications.