eshivakant / 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

WinForms Client fails to ProcessUserAuthorization #89

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Filled in app.config values for clientId, apiKey, clientSecret
2. Build and Run WinForms example
3. Select buzz api -> v1 -> activities -> list 
4. in the Upper Right pane select Execute
5. In the WebBrowser pane, go through the Allow Access process 
6. Browser stops at "Please copy this code, switch to your application and 
paste it there" view and never passes this or calls the Buzz API since the 
AccessToken seems to not get pulled. 

What is the expected output? What do you see instead?
List of activities in buzz. 

What version of the product are you using? On what operating system?
Windows 7 client, Google API's from the repository as of 7/13/2011

This could be because I've not fully grasped how OAUTH (OAUTH for that matter) 
works. 

Thanks,
Jason Tucker 

Please provide any additional information below.

Original issue reported on code.google.com by jtuc...@gmail.com on 14 Jul 2011 at 3:47

GoogleCodeExporter commented 9 years ago
Thank you for this bug report!

The samples in the default/Samples repository are mostly outdated, and I would 
not recommend using them. If you want to get started using the library (and 
OAuth2.0), I suggest looking at the "Getting started" page 
(http://code.google.com/p/google-api-dotnet-client/wiki/GettingStarted) which 
covers, and a newer set of samples:

http://code.google.com/p/google-api-dotnet-client/source/browse/?repo=samples

Especially the "Tasks." samples provide a good introduction towards using 
OAuth2.0

Original comment by mlin...@google.com on 14 Jul 2011 at 4:01

GoogleCodeExporter commented 9 years ago
Those samples are now officially deprecated. Please use the ones in the 
Samples/ repository instead.

Original comment by mlin...@google.com on 3 Aug 2011 at 8:22