[Potlatch-dev] Potlatch2 against "forked" OSM

Tom Hughes tom at compton.nu
Thu Jan 13 18:49:59 GMT 2011


On 13/01/11 18:44, Eric Wolf wrote:
>>> Is there another config file I'm missing?
>>
>> No, that's it. But when you registered the application to get that key you
>> had to enter a URL and I believe that has to match the URL of the page where
>> the flash applet is for it to work.
>
> Maybe this is where my confusion really is coming from. There seem to
> be multiple URLs for getting to Potlatch 2:
>
> http://navigator.er.usgs.gov/potlatch2/potlatch2.swf
> http://navigator.er.usgs.gov/potlatch2/potlatch2.html
> http://navigator.er.usgs.gov/edit
> http://navigator.er.usgs.gov/edit?editor=potlatch2
>
> I have been using the first URL (pointing to the swf file) when I
> register the app in the Oauth clients. I can see the tokens getting
> issued as the Client Application name appears in the "Authorised
> Applications" complete with a "revoke" button. But it always fails in
> creating a changeset. I keep getting a 404 on the
> api/0.6/changeset/create command.

What we use is this:

http://navigator.er.usgs.gov/edit?editor=potlatch2

I suspect that only the base URL matters though and the argument is 
probably not important.

I'm concerned that you get a 404 though... I would expect a 403 or 
something if authorisation is failing.

Tom

-- 
Tom Hughes (tom at compton.nu)
http://compton.nu/



More information about the Potlatch-dev mailing list