Hey! The problem is fixed.
You were right. The problem came also from a missing verifier parameter.
I actually don't set the version in the requests. Which is definitely wrong.

I also need to read the docs a bit more because I think I also have an
issue with the user authorization step. A new item is added in the
user's authorised applications. Which is ackward.

Thanks for help anyway.
Pierre.

Envoyé de mon iPhone

Le 18 nov. 2011 à 20:14, Tom Hughes <[email protected]> a écrit :

> On 18/11/11 16:59, Pierre GIRAUD wrote:
>
>> Giving details on what you did on the tester helped me a lot.
>> I can confirm that the callback is correctly used.
>> The difference is that I used to set the callback in the authorize
>> call. Putting it earlier in request_token request helped me going a
>> step further.
>
> After investigating further, it seems that passing the callback to authorize 
> is the OAuth 1.0 way of doing things - in 1.0a it was change so that you pass 
> it to request_token instead.
>
> The callback (in 1.0a) is then given a verifier that needs to be passed back 
> to get the access token - maybe that is where your access token problems are?
>
> Anyway, we are supposed to have 1.0 turned on still, so I will need to look 
> into why that isn't working. Using 1.0 without a callback (as Potlatch 2 
> does) is working.
>
> Tom
>
> --
> Tom Hughes ([email protected])
> http://compton.nu/

_______________________________________________
dev mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/dev

Reply via email to