public async Task <IdentityUser> FindByLoginAsync(string loginProvider, string providerKey, CancellationToken cancellationToken) { cancellationToken.ThrowIfCancellationRequested(); try { var result = await _userRepository.GetByUserLoginAsync(loginProvider, providerKey); return(result); } catch (Exception ex) { Logging.LogException(ex); return(null); } }