This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

Getting a token

0

I'm really confused about how to get a token. The OAuth page in the wiki has some links that seem to imply they will let me request a token but they all give error pages. Is it just that those pages are temporarily broken? Or is there some other way that is supposed to happen?

asked 02 Jun '12, 14:41

elinw's gravatar image

elinw
1111
accept rate: 0%


One Answer:

0

The urls on the wiki page is the urls for the service. You need to pass correct arguments to those urls to get a token. Normaly you provide those urls to the oAuth library you are using and make it to the rest.

You can have a look at the documentation at oAuth.net for information about how the oAuth protocol works.

answered 02 Jun '12, 15:37

Gnonthgol's gravatar image

Gnonthgol ♦
13.8k16103198
accept rate: 16%

Okay that makes sense, the implication to me reading the docs was that there was something else coming from OSM.

(02 Jun '12, 17:55) elinw

Source code available on GitHub .