I am using cookie authentication in my ASP.Net Core MVC application. Set up like this:
var authenticationBuilder = services.AddAuthentication(options => {