kelvinRosa / google-api-dotnet-client

Automatically exported from code.google.com/p/google-api-dotnet-client
Apache License 2.0
0 stars 0 forks source link

No time out on GoogleWebAuthorizationBroker.AuthorizeAsync? #530

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.
 UserCredential credential = GoogleWebAuthorizationBroker.AuthorizeAsync(new ClientSecrets { ClientId = clientId, ClientSecret = clientSecret }                                                                                            , scopes , "x", CancellationToken.None                                                      , new FileDataStore("Daimto.com.Auth.Store")).Result;
2. The Authentication window will open
3. Either close the browser or do nothing.   Just wait.  (Don't click accept or 
cancel)

What is the expected output? What do you see instead?

At some point I would expect the code to timeout and the application to either 
throw an exception or at the very least return to the application.   I have 
left the application running for 10+ minutes.  It never returns it just sits 
there waiting for a response.

What version of the product are you using?
What is your operating system?  windows 7 
What is your IDE?  Visual studio 10
What is the .NET framework version?  4.0

Please provide any additional information below.

Original issue reported on code.google.com by laurl...@gmail.com on 22 Jan 2015 at 2:32

GoogleCodeExporter commented 9 years ago
I have the same issue. Can anyone help on this?

Original comment by jim...@gmail.com on 4 Mar 2015 at 9:02