tomdroid-dev team mailing list archive
-
tomdroid-dev team
-
Mailing list archive
-
Message #00260
Re: tomdroid oauth / oauth_verifier not sent
-
To:
tomdroid-dev@xxxxxxxxxxxxxxxxxxx
-
From:
Jango <j.4@xxxxxx>
-
Date:
Fri, 26 Sep 2014 11:23:49 +0200
-
In-reply-to:
<20140926111411.00132837@bogo>
-
User-agent:
Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.7.0
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
Awesome news! Sorry for not responding earlier.
One question, where did you fix this problem now, in your owncloud app
or in tomdroid/signpost?
Is there something I can do to help you getting owncloud sync done? I
also host an owncloud instance myself and always wanted to sync my
notes with it.
Great work!
- - Stefan (j-4)
On 26/09/14 11:14, Christian Weiske wrote:
> Hi again,
>
>
>> I'm implementing my own tomboy rest api sync server based on
>> owncloud. It works fine for tomboy, but I fail to authorize
>> tomdroid 0.7.5.
>>
>> The server redirects to
>>> tomdroid://sync?oauth_token=foo&oauth_verifier=bar
>> and then tomdroid tries to fetch the access token.
>>
>> Why is oauth_verifier missing?
>
> Tomdroid uses signpost as oauth library. This lib detected our
> server as OAuth 1.0 and not 1.0a because callback_confirmed was
> "TRUE" instead of "true".
>
> OAuth 1.0 does not have the verifier parameter, so it was ignored
> and not sent to our server.
>
> The OAuth RFC 5849 specifies in section 2.1:
>
> oauth_callback_confirmed MUST be present and set to "true".
>
> TRUE is not true, so we failed to implement the spec correctly.
>
> With that fixed, tomdroid authorizes fine with grauphel. Syncing
> still bails out, but that's another problem :)
>
>
> Without access to the source code of both tomdroid and signpost I
> would not have been able to find the error. Open source ftw.
>
>
>
> _______________________________________________ Mailing list:
> https://launchpad.net/~tomdroid-dev Post to :
> tomdroid-dev@xxxxxxxxxxxxxxxxxxx Unsubscribe :
> https://launchpad.net/~tomdroid-dev More help :
> https://help.launchpad.net/ListHelp
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQEcBAEBAgAGBQJUJTClAAoJEKZUR52KBBcC1RkIAJfH0D6AdMyYu1w2/1Cc/baZ
BS50ANMWv4MiGpPDdv1fTWberSzA2f92dkNKHeFYyAVxdhknbgBuXIhIpEXCghm6
C82J9UhvFUYVqxRzY72jaAVBDXgdptKNnsHdmSymQvujcMGj+MtBb2nIjZhR4uW6
Qd+smF5VfFq1Nl8hIc18pxG2VOcXu2XnOYiRVyvvZ1fcjbw+ewdjD3TIZuHpv6TY
mqcayZ5ilo4BLlOU5TTmbre58wgcwPkR3Heo0rhfU13PN+3Z6J2dYF6Zz2GqEaDH
5GfUueFc6o7aQIPD23lzhKHqaSotwPPzeDr3phmNIG+EBWdzG4yOIW2s1pRLr50=
=Tkhx
-----END PGP SIGNATURE-----
Follow ups
References