Skip to content

Commit f0aba75

Browse files
Upgrade documentation for oauth 2
1 parent 7f700e6 commit f0aba75

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

ops/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ Examples of how to backup and restore the database:
6262
psql exports < export_tool_2023-03-06.pgdump
6363
```
6464

65-
8. Modify the OAuth1 application with your hostname's `redirect_uris`
65+
8. Modify the OAuth2 application with your hostname's `redirect_uris`
6666

6767
### Storage and Environment Variables
6868

ops/systemd/export_workers.env

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ EMAIL_HOST_USER=<INSECURE_SMTP_USERNAME>
88
EMAIL_HOST_PASSWORD=<SECURE_SMTP_PASSWORD>
99
REPLY_TO_EMAIL=<INSECURE_REPLY_EMAIL>
1010

11-
##OAUTH 1 Settings
12-
OSM_API_KEY=<SECURE_OSM_OAUTH1_APP_CONSUMER_KEY>
13-
OSM_API_SECRET=<SECURE_OSM_OAUTH1_APP_CONSUMER_SECRET>
11+
##OAUTH 2 Settings
12+
OSM_API_KEY=<SECURE_OSM_OAUTH2_APP_CONSUMER_KEY>
13+
OSM_API_SECRET=<SECURE_OSM_OAUTH2_APP_CONSUMER_SECRET>
1414

1515
## Workers
1616
WORKER_SECRET_KEY=<SECURE_WORKER_KEY>

ui/app/components/help/API.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export default () =>
3333
<p>User authentication and authorization is a two-step process.</p>
3434
<p>
3535
The Export Tool requires that users log into OpenStreetMap using{" "}
36-
<a href="https://oauth.net/1/">OAuth 1.0a</a> (you don't need to know
36+
<a href="https://oauth.net/2/">OAuth 2.0a</a> (you don't need to know
3737
this). This provides user identity, specifically an OSM username to
3838
associate with exports. You generally don't need to care about this,
3939
except to know that usernames are the same as on OSM.

0 commit comments

Comments
 (0)