hoangduit / google-gdata

Automatically exported from code.google.com/p/google-gdata
0 stars 0 forks source link

2 Legged OAUTH for App Domains #382

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Querying... Works
Upload... Works
Download... *Works for arbitrary files not Google Documents/Spreadsheets
Acl... Fail (Authorization header error)
Update... Fail (Authorization header error)
Delete... Fail (Authorization header error)

Using the latest /branches/Experimental.

Original issue reported on code.google.com by testacco...@gmail.com on 13 May 2010 at 9:59

GoogleCodeExporter commented 9 years ago
For Delete
Using the DocumentsService + OAuthRequestFactory fails.
Using the HttpWebRequest + OAuth2LeggedAuthenticator works.

Original comment by testacco...@gmail.com on 14 May 2010 at 8:25

GoogleCodeExporter commented 9 years ago
it makes no sense at all that a token system works for let's say upload and 
query, but not the rest.

Can you pull the latest trunk (there were some issues in the oauth code that i 
think i fixed) and try this again?

Frank Mantek
Google

Original comment by fman...@gmail.com on 26 May 2010 at 8:04

GoogleCodeExporter commented 9 years ago
Latest SVN seems to be working fine, no more issues.

I was able to remove the 2L-OAuth hack code out of my code.

Original comment by testacco...@gmail.com on 26 May 2010 at 11:13

GoogleCodeExporter commented 9 years ago
Wonderful. 

Original comment by fman...@gmail.com on 27 May 2010 at 5:54