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

OAuth #272

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

Run the following code:

var auth = new OAuth2LeggedAuthenticator(key, secret, user, domain);
var cal = new CalendarService(auth);
var list = cal.CalendarList.List().Fetch();
foreach (var item in list.Items)
{
    Console.WriteLine(item.Summary);
}

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

Expected to see list of calendars for user

What version of the product are you using? On what operating system?

Using 1.2.4696 on Windows 8

Please provide any additional information below.

The bug is caused by revision f298abbd0235 which just removed the code handling 
adding the xoauth_requestor_id to the query string.
Hopefully I'll have a patch today/tomorrow.

Original issue reported on code.google.com by eli.k...@gmail.com on 12 Nov 2012 at 6:21

GoogleCodeExporter commented 9 years ago
Just noticed that I did not complete the title - it should have been "2-LO 
OAuth does not work - xoauth_requestor_id missing"
It seems I can't edit it now

Original comment by eli.k...@gmail.com on 12 Nov 2012 at 4:50

GoogleCodeExporter commented 9 years ago
Hi eli.k.93

The library doesn't support OAuth1.0 any more.
Please take a look in the samples repository to see the support on OAuth2.

I'm closing this issue, without any fix

Original comment by pele...@google.com on 15 Jan 2013 at 9:11