GoogleWebAuthorizationBroker is not working from IIS Host
问题 I am using the following code to authenticate to Google using the Google .Net client library. public static void auth() { string clientId = "xxxxxx.apps.googleusercontent.com"; string clientSecret = "xxxxx"; string[] scopes = new string[] { "https://www.googleapis.com/auth/contacts.readonly" }; // view your basic profile info. try { // Use the current Google .net client library to get the Oauth2 stuff. UserCredential credential = GoogleWebAuthorizationBroker.AuthorizeAsync(new ClientSecrets {