<p></p>
<p>A few hints for people who want to try this out using Postman:</p>
<p>Create new application at <a href="https://oauth2.apis.dev.openstreetmap.org/oauth2/applications" rel="nofollow">https://oauth2.apis.dev.openstreetmap.org/oauth2/applications</a>, note down client id + secret for later</p>
<p>In Postman, create a new request, switch to the Authorization tab<br>
<a target="_blank" rel="noopener noreferrer" href="https://user-images.githubusercontent.com/5842757/114618048-322abd80-9ca9-11eb-8067-4728df48ec56.png"><img src="https://user-images.githubusercontent.com/5842757/114618048-322abd80-9ca9-11eb-8067-4728df48ec56.png" alt="demo" style="max-width:100%;"></a></p>
<ul>
<li>Authorization Type OAuth 2,0</li>
<li>Add authorization data to <em>Request Headers</em></li>
<li>Grant type: Authorization Code / or / Authorization Code (With PKCE)</li>
<li>(some callback url)</li>
<li>Auth URL: <code>https://oauth2.apis.dev.openstreetmap.org/oauth2/authorize</code></li>
<li>Access Token URL: <code>https://oauth2.apis.dev.openstreetmap.org/oauth2/token</code></li>
<li>Client ID + Client Secret -> see previous app registration step</li>
<li>Scope: see below, needs to be a subset of the scopes used for application registration</li>
</ul>
<p>Scope names:</p>
<ul>
<li>read_prefs: read their user preferences</li>
<li>write_prefs: modify their user preferences</li>
<li>write_diary: create diary entries, comments and make friends</li>
<li>write_api: modify the map</li>
<li>read_gpx: read their private GPS traces</li>
<li>write_gpx: upload GPS traces</li>
<li>write_notes: modify notes</li>
</ul>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/pull/3177#issuecomment-819038597">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLM53IBLT6XI4PYATTTTISUAPANCNFSM4234LSSQ">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AAK2OLJ2V62BN66NBZKEFQDTISUAPA5CNFSM4234LSS2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOGDIYTBI.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/openstreetmap-website/pull/3177#issuecomment-819038597",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/3177#issuecomment-819038597",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>