Oauth User token Authorization

Discussion in 'Google API' started by PVS, Jun 15, 2010.

  1. #1
    Can anyone help me out with the following issue that I'm stuck since a week. This is regarding a token implementation in the google api for youtube. I'm able to generate a oauth token successfully but getting a hard time authorising it through the servlets. I get the link "https://www.google.com/accounts/OAuthAuthorizeToken?oauth_token=xxxxxxxxxxxxxxxxxxxxxxxxxx" which has to be further authorized to use the youtube data. The problem is that once I hit this url it takes me to the login page where in I have to provide the User name & password for the account, this would work fine if the data is for a Desktop application, but I need it for a mobile application where the client hits the servlet & the servlet generates the above URL, the actual problem is that I'm not able to pass the user name & password to directly login along with the URL itself and a session state is got by which I can access my account through the servlet itself. So if anybody can help me out with a solution or a link for this similar kind of implementation it would be very helpful. Hoping to hear from at the earliest.

    thanks & Regards,
    PVS
     
    PVS, Jun 15, 2010 IP