Changes between Version 24 and Version 25 of Help/Dialog/OAuthAuthorisationWizard


Ignore:
Timestamp:
2012-08-13T04:47:45+02:00 (13 years ago)
Author:
skyper
Comment:

small adds

Legend:

Unmodified
Added
Removed
Modified
  • Help/Dialog/OAuthAuthorisationWizard

    v24 v25  
    3838The easiest way to get an Access Token is to let JOSM fully automatically retrieve one from the OSM server.
    3939
    40  1. '''Step 1/3'''  - Open the preferences dialog
     401. '''Step 1/3'''  - Open the preferences dialog
    4141
    4242    Click on the '''Preferences''' button in the toolbar. In the dialog, select the '''Connection Setting''' tab.
    4343
    44  2. '''Step 2/3'''  - Get the Access Token
     442. '''Step 2/3'''  - Get the Access Token
    4545
    46     Enter your OSM username and your OSM password and click on '''Authorise now'''.
     46 Enter your OSM username and your OSM password and click on '''Authorise now'''.
    4747   
    48     [[Image(fully-authomatic-1.png)]]
     48 [[Image(fully-authomatic-1.png)]]
    4949
    50  3. '''Step 3/3''' - Accept the Access Token
     503. '''Step 3/3''' - Accept the Access Token
    5151
    52     JOSM displays the retrieved Access Token. Click on '''Accept Access Token''' to accept it.
     52 JOSM displays the retrieved Access Token.
    5353   
    54     [[Image(fully-authomatic-2.png)]]
     54 [[Image(fully-authomatic-2.png)]]
     55
     56* Deselect the checkbox Save to preferences if you don't want to save the Access Token in the JOSM preferences. If you don't save it the Access Token will be lost when you close JOSM. If you later startup JOSM again you will have to retrieve a new Access Token to work with OAuth based authentication again.
     57* Click on ''Test Access Token" to test the token
     58* Click on '''Accept Access Token''' to accept it.
    5559
    5660==== Restricting the granted privileges ====
    5761When JOSM fully-automatically requests and authorises an Access Token, it grants it five privileges:
    58   * the right to upload data to the OSM server
    59   * the right to upload GPS traces to the OSM server
    60   * the right to download private GPS traces from the OSM server
    61   * the right to read the preferences stored on the OSM server
    62   * the right to write preferences stored on the OSM server
     62* the right to upload data to the OSM server
     63* the right to upload GPS traces to the OSM server
     64* the right to download private GPS traces from the OSM server
     65* the right to read the preferences stored on the OSM server
     66* the right to write preferences stored on the OSM server
    6367
    6468These are the default settings. If you want to restrict the granted privileges:
    6569
    66   1. Click the tab '''Granted rights'''
    67   1. Deselect each privilege which should not be granted to the requested Access Token
     701. Click the tab '''Granted rights'''
     711. Deselect each privilege which should not be granted to the requested Access Token
    6872
    69    [[Image(fully-authomatic-privileges.png)]]
     73[[Image(fully-authomatic-privileges.png)]]
    7074
    7175==== Advanced OAuth parameters ==== #FullyAutomaticAdvanced
    72 When JOSM fully-automatically requests and authorises an Access Token, it uses default values for the OAuth parameters. Advanced users may want to change these parameters
    73  * in order to use a different Consumer Token (consisting of a Consumer Key and a Consumer Secret). This allows you to create your own Consumer Token for JOSM and then use it in JOSM.
    74  * in order to use it on a different than the standard OSM server. For instance, this allows users to use OAuth with an OSM development server or with a local installation of the OSM server application.
     76When JOSM fully-automatically requests and authorises an [https://oauth.net/core/1.0/#anchor3 Access Token], it uses default values for the OAuth parameters. Advanced users may want to change these parameters
     77* in order to use a different Consumer Token (consisting of a Consumer Key and a Consumer Secret). This allows you to create your own Consumer Token for JOSM and then use it in JOSM.
     78* in order to use it on a different than the standard OSM server. For instance, this allows users to use OAuth with an OSM development server or with a local installation of the OSM server application.
    7579
    7680In order to edit the Advanced OAuth parameters
    7781
    78   1. Click the tab '''Advanced OAuth parameters'''
    79   1. Deselect the checkbox '''Use default settings'''
    80   1. Enter your values for the five OAuth parameters
     82 1. Click the tab '''Advanced OAuth parameters'''
     83 1. Deselect the checkbox '''Use default settings'''
     84 1. Enter your values for the five OAuth parameters
    8185
    82    [[Image(fully-automatic-advanced.png)]]
     86[[Image(fully-automatic-advanced.png)]]
    8387
    8488=== Semi-automatic authorisation process ===
     
    8690
    8791
    88  1. '''Step 1/3''' - Get the Request Token
     921. '''Step 1/3''' - Get the Request Token
    8993
    90    Click on '''Retrieve Request Token''' to retrieve an OAuth Request Token.
     94 Click on '''Retrieve Request Token''' to retrieve an OAuth Request Token.
    9195   
    92    [[Image(semi-automatic-step-1.png)]]
     96 [[Image(semi-automatic-step-1.png)]]
    9397
    94  2. '''Step 2/3''' - Authorise the Request Token in an external browser
     982. '''Step 2/3''' - Authorise the Request Token in an external browser
    9599
    96     JOSM now launches an external browser with the OSM website. Please login and follow the instructions. Then switch back to the OAuth Authorisation Wizard and click on '''Retrieve Access Token'''.
     100 JOSM now launches an external browser with the OSM website. Please login and follow the instructions. Then switch back to the OAuth Authorisation Wizard and click on '''Retrieve Access Token'''.
    97101   
    98     [[Image(semi-automatic-step-2.png)]]
     102 [[Image(semi-automatic-step-2.png)]]
    99103
    100  3. '''Step 3/3''' - Accept the Access Token
     1043. '''Step 3/3''' - Accept the Access Token
    101105
    102     JOSM displays the retrieved Access Token. Click on '''Accept Access Token''' to accept it.
     106 JOSM displays the retrieved Access Token. Click on '''Accept Access Token''' to accept it.
    103107   
    104     [[Image(semi-automatic-step-3.png)]]
     108 [[Image(semi-automatic-step-3.png)]]
    105109
    106110
    107111==== Advanced OAuth parameters ====
    108112When JOSM semi-automatically requests and authorises an Access Token, it uses default values for the OAuth parameters. Advanced users may want to change these parameters
    109  * in order to use a different Consumer Token (consisting of a Consumer Key and a Consumer Secret). This allows you to create your own Consumer Token for JOSM and then use it in JOSM.
    110  * in order to use it on a different than the standard OSM server. For instance, this allows users to use OAuth with an OSM development server or with a local installation of the OSM server application.
     113* in order to use a different Consumer Token (consisting of a Consumer Key and a Consumer Secret). This allows you to create your own Consumer Token for JOSM and then use it in JOSM.
     114* in order to use it on a different than the standard OSM server. For instance, this allows users to use OAuth with an OSM development server or with a local installation of the OSM server application.
    111115
    112116In order to edit the Advanced OAuth parameters
    113117
    114   1. Select the checkbox '''Display Advanced OAuth Parameters'''
    115   1. Enter your values for the five OAuth parameters
     118 1. Select the checkbox '''Display Advanced OAuth Parameters'''
     119 1. Enter your values for the five OAuth parameters
    116120
    117   [[Image(semi-automatic-advanced.png)]]
     121[[Image(semi-automatic-advanced.png)]]
    118122
    119123=== Manual authorisation process ===
    120124The manual authorisation process allows you to enter an arbitrary Access Token. You can use this process
    121125
    122   * to enter an Access Token you have kept in a secure place, for instance in a secure store for credentials
    123   * to enter an Access Token you have received from somebody else, for instance from another mapper who granted you restricted account access
     126* to enter an Access Token you have kept in a secure place, for instance in a secure store for credentials
     127* to enter an Access Token you have received from somebody else, for instance from another mapper who granted you restricted account access
    124128
    125  1. '''Step 1/1'''  - Enter the Access Token and accept it
     1291. '''Step 1/1'''  - Enter the Access Token and accept it
    126130
    127    Enter the Access Token and click on '''Accept Access Token'''.
     131 Enter the Access Token and click on '''Accept Access Token'''.
    128132
    129    [[Image(manual.png)]]
     133 [[Image(manual.png)]]
    130134 
    131135
    132136==== Advanced OAuth parameters ====
    133  * See [wiki:/Help/Dialog/OAuthAuthorisationWizard#FullyAutomaticAdvanced advanced preferences in the fully automatic process].
     137* See [wiki:/Help/Dialog/OAuthAuthorisationWizard#FullyAutomaticAdvanced advanced preferences in the fully automatic process].
    134138