Can anyone please check below code and let me know why I\'m getting always false (User.Identity.IsAuthenticated)??. I\'m getting cookie on my browser properly and able to
You can try this one. I think this can help
var userIdentity = new ClaimsIdentity( claims, AuthenticationTypes.Basic);