-----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 : > [email protected] 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----- _______________________________________________ Mailing list: https://launchpad.net/~tomdroid-dev Post to : [email protected] Unsubscribe : https://launchpad.net/~tomdroid-dev More help : https://help.launchpad.net/ListHelp

