Skip to content

Commit

Permalink
README: do not mention no longer used secret
Browse files Browse the repository at this point in the history
  • Loading branch information
starsep authored and bhousel committed Jan 9, 2024
1 parent 8716463 commit e33e486
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ Register a new OAuth2.0 application on openstreetmap.org:
3. Click 'OAuth 2 applications'
4. At the bottom, 'Register new application'
5. Fill in the form (keeping the _Confidential application?_ checkbox unchecked) & submit
6. Copy & Paste the client ID, secret, redirect URI and scope(s) into the osmAuth config object as below
6. Copy & Paste the client ID, redirect URI, and scope(s) into the osmAuth config object as below

👉 Important:
- The "Redirect URIs" are URIs that OSM is allowed to redirect the user back to. You can supply multiple Redirect URIs separated by spaces, and change them later.
Expand Down Expand Up @@ -146,7 +146,7 @@ if (window.location.search.slice(1).split('&').some(p => p.startsWith('code=')))
## `.osmAuth(options)`

Constructs an `osmAuth` instance.<br/>
At a minimum, `options` must contain OAuth2 client ID, secret, redirect URI, and scope(s):
At a minimum, `options` must contain OAuth2 client ID, redirect URI, and scope(s):

```js
var redirectPath = window.location.origin + window.location.pathname;
Expand Down

0 comments on commit e33e486

Please sign in to comment.