I am using Identity 2.1 in my MVC5 app. I am setting the isPersistent property of the PasswordSignInAsync to true to enable \'Remember Me\':
var result = await S
I had this issue. It was caused by my custom UserStore not implementing IUserSecurityStampStore.
public Task GetSecurityStampAsync(IdentityUser user) { return Task.FromResult(user.SecurityStamp); }
Without a security stamp the SecurityStampValidator has nothing to validate and so logs out the user.