title: Google Web Authorization on IIS
body: <p>Hi i am using GoogleWebAuthorizationBroker to authorize user,
  below of my code ..</p>
  
  <pre><code>UserCredential credential;
  
  using (var stream = new FileStream(jsonFileName, FileMode.Open, FileAccess.Read))
              {
                  string credPath = Server.MapPath("/");
                  credPath = Path.Combine(credPath, ".credentials/drive-dotnet-quickstart");
  
                  credential = GoogleWebAuthorizationBroker.AuthorizeAsync(
                      GoogleClientSecrets.Load(stream).Secrets,
                      new[] { YouTubeService.Scope.YoutubeUpload },
                      "user",
                      CancellationToken.None
                      , new FileDataStore(credPath, true)
                      ).Result;
              }
  </code></pre>
  
  <p>This code works well on ASP.Net Developement Server, its redirect user to google page for request for permission.
  but when i host application on IIS its does not works. i set full psermission to iis_user and iuser. i am not sure what other things i need to do on IIS.</p>
  
  <p>Thanks</p>