I'm trying to log in
GoogleAuthorizationCodeFlow.Initializer init = new GoogleAuthorizationCodeFlow.Initializer(); ClientSecrets clientSecrets = new ClientSecrets() { ClientId = ClientID, ClientSecret = ClientSecret }; init.ClientSecrets = clientSecrets; init.Scopes = new string[] { YouTubeService.Scope.Youtube }; myAuthorizationCodeFlow = new GoogleAuthorizationCodeFlow(init); UserCredential credential = null; CancellationToken cancellationToken = new CancellationToken(); TokenResponse tokenResponse = myAuthorizationCodeFlow.LoadTokenAsync(ClientID, cancellationToken).FinalResult<TokenResponse>(); if(tokenResponse!=null) { credential = new UserCredential(myAuthorizationCodeFlow, ClientID, tokenResponse); } BaseClientService.Initializer initializer1 = new BaseClientService.Initializer() { ApiKey = myApiKey, ApplicationName = myAppName, HttpClientInitializer = credential }; this.myYoutubeServiceLogged = new YouTubeService(initializer1); public static T FinalResult<T>(this Task<T> pTask) { T result; try { pTask.Wait(); result = pTask.Result; } catch (Exception) { result = pTask.Result; } return result; } tokenResponce is constantly null What is the error?