Hi Dmitry,
Thanks, that is good to know what provider to use. We are authenticating against iMIS which uses OAuth2
Finally managed to get user to authenticate by doing this:
var claims = new List<Claim>();
claims.Add(new Claim(ClaimTypes.NameIdentifier, userId));
claims.Add(new Claim(ClaimTypes.Name, userFullName));
var identity = new ClaimsIdentity(claims, DefaultAuthenticationTypes.ApplicationCookie);
AuthenticationManager.SignIn(new AuthenticationProperties() { AllowRefresh = true,
IsPersistent = true }, identity);