| 45 | The easiest way to get an Access Token is to let JOSM fully automatically retrieve one from the OSM server. |
| 46 | |
| 47 | 1. '''Step 1/2''' - Get the Access Token |
| 48 | |
| 49 | Enter your OSM username and your OSM password and click on '''Authorise now'''. |
| 50 | |
| 51 | [[Image(fully-authomatic-1.png)]] |
| 52 | |
| 53 | 2. '''Step 2/2''' - Accept the Access Token |
| 54 | |
| 55 | JOSM displays the retrieved Access Token. Click on '''Accept Access Token''' to accept it. |
| 56 | |
| 57 | [[Image(fully-authomatic-2.png)]] |
| 58 | |
| 59 | ==== Restricting the granted privileges ==== |
| 60 | When JOSM fully-automatically requests and authorises an Access Token, it grants it five privileges: |
| 61 | * the right to upload data to the OSM server |
| 62 | * the right to upload GPS traces to the OSM server |
| 63 | * the right to download private GPS traces from the OSM server |
| 64 | * the right to read the preferences stored on the OSM server |
| 65 | * the right to write preferences stored on the OSM server |
| 66 | |
| 67 | These are the default settings. If you want to restrict the granted privileges |
| 68 | |
| 69 | 1. Click the tab '''Granted rights''' |
| 70 | 2. Unselect each privilege which should not be granted to the requested Access Token |
| 71 | |
| 72 | |