[OSM-dev] OAuth2 in C#

Michele OSM3 micheleosm3 at gmail.com
Mon Jun 20 07:56:51 UTC 2022


I tried to get authorization code via:
https://master.apis.dev.openstreetmap.org/oauth2/authorize?client_id=(
client_id)&response_type=code&scope=read_prefs+write_api&access_type=offline&redirect_uri=urn:ietf:wg:oauth:2.0:oob

it returns me a web page with the authorization code.

Now I would like to try to get the authorization code using rest-get in C #
or Postman.
I guess the parameters are different to get a response in json instead of a
webpage.
Can someone help me?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20220620/322b9c17/attachment.htm>


More information about the dev mailing list