incubator-photark-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bhargav Golla <bhargav.go...@gmail.com>
Subject Re: Anyone worked with oAuth2 with installed apps?
Date Tue, 07 Aug 2012 20:05:44 GMT
Kindly ignore the mail.
Figured out a work around myself.

Regards

On Wed, Aug 8, 2012 at 12:40 AM, Bhargav Golla <bhargav.golla@gmail.com>wrote:

> I am doing a copy paste of the authorization code returned.
> The next step in my authentication flow requires me to POST request to get
> an access token with a few parameters as mentioned here<https://developers.google.com/accounts/docs/OAuth2InstalledApp#handlingtheresponse>
> .
> Even if I am giving the same parameters as requested, I am not getting the
> access token but instead am getting "Invalid_Request" error. From the
> description of the error here<http://tools.ietf.org/html/draft-ietf-oauth-v2-20#section-5.2>,
> I should have missed some parameters or some parameter value isn't correct.
> But I am sending the parameters as required by oAuth2 and am unable to get
> access token. Been stuck to this error since 4 days. I would be very much
> grateful to anyone who can help me out here.
>
> Once I get the access token and refresh token, I will just need to GET
> request a URL for Picasa photos a user uploaded and Picasa functionality
> can be achieved and I can move onto UI design.
>
> Regards
>
> On Fri, Aug 3, 2012 at 1:03 PM, Bhargav Golla <bhargav.golla@gmail.com>wrote:
>
>> Hello,
>> I am working on picasa integration for the photark app. For the same, i
>> should authenticate a user through google oauth2 authentication. I am
>> required to use a redirect-uri ( urn:ietf:wg:oauth:2.0:oob ) which gives me
>> a code which a user should copy and enter into application. But the code
>> that gets returned is big unlike flickr's 9 digit minitoken. Hence, i am
>> looking for help with this: "How do i communicate that code which is in a
>> text box in a childbrowser back to my phonegap app?". It would be really
>> helpful if there's anyone who can help me out with a direction in this
>> context.
>>
>> Regards
>> Bhargav Golla
>>
>
>
>
> --
> Bhargav Golla
> B.E (Hons.) Computer Science
> BITS-Pilani
>
>


-- 
Bhargav Golla
B.E (Hons.) Computer Science
BITS-Pilani

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message