[OSM-dev] OAuth down

Tom Hughes tom at compton.nu
Fri Nov 18 19:14:13 GMT 2011


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 (tom at compton.nu)
http://compton.nu/



More information about the dev mailing list