Yuta3849752084375 / gdata-objectivec-client

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

Users can authenticate using both their YouTube username and their Google username, but cannot upload files on the Google username #68

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Call setUserCredentialsWithUsername:password: on a GDataServiceGoogleYouTube 
instance with a Google username and password
2. Attempt to authenticate by calling 
authenticateWithDelegate:didAuthenticateSelector: on t 
GDataServiceGoogleYouTube instance
3. Attempt to upload a video by calling 
fetchEntryByInsertingEntry:forFeedURL:delegate:didFinishSelector: on the 
GDataServiceGoogleYouTube instance

What is the expected output? What do you see instead?
I would expect either both the authenticate and upload to fail or both to 
succeed.  As it is, the authenticate throws no error, the upload throws error 
403.

What version of the product are you using? On what operating system?
Latest from SVN trunk (Revision 549) on iPhone 4

Please provide any additional information below.
I tested this on my google account drakfyre@gmail.com
If I attempt this same test using my YouTube username (drakfyre), both the auth 
and the upload work fine.  This is not a google apps account.

Original issue reported on code.google.com by Pushy.Pi...@gmail.com on 11 Aug 2010 at 6:17

GoogleCodeExporter commented 9 years ago
This is not an Objective-C library issue.  It's just how the YouTube API server 
works.

Note that the server that does authentication (ClientLogin) with the username 
and password is not the API server, so there is no guarantee that successful 
authentication will be accepted by the API server.  API servers are free to 
impose their own restrictions.

Original comment by gregrobbins on 11 Aug 2010 at 7:01

GoogleCodeExporter commented 9 years ago
Okay, thanks for the clarification that they are separate systems.  The 
question I have is who should I talk to about allowing the Google authenticated 
users to upload?  I mean, I can log into the YouTube site under either 
credential and upload, why is the API different and who can fix it?

Original comment by Pushy.Pi...@gmail.com on 12 Aug 2010 at 6:33

GoogleCodeExporter commented 9 years ago
The appropriate forum is

http://groups.google.com/group/youtube-api-gdata

Original comment by gregrobbins on 12 Aug 2010 at 6:52