Skip to content

Commit 6ba05e6

Browse files
committed
README: clarify which redirect URL to set at the Oauth provider
1 parent 390c810 commit 6ba05e6

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

README.md

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,16 @@ and [language guide](http://wiki.openstreetmap.org/wiki/Level0L).
88

99
You will need PHP with `mod_gettext`.
1010

11-
* Point your `DocumentRoot` to the `www` directory.
12-
* Run `composer install`.
13-
* Open [this link](https://www.openstreetmap.org/oauth2/applications/new) and register
14-
your instance of Level0. It needs permissions for reading user details and modifying the map.
15-
* Create `www/config.php` from `www/config.php.sample`, inserting both OAuth keys.
16-
* Create `data` directory and give writing permissions for it to web server process.
11+
1. Point your `DocumentRoot` to the `www` directory.
12+
13+
2. Run `composer install`.
14+
15+
3. Open [this link](https://www.openstreetmap.org/oauth2/applications/new) and register
16+
your instance of Level0. It needs permissions for reading user details and modifying the map. When asked for a redirect URL set `$your_installation/index.php?action=callback` (the public demo uses `https://level0.osmz.ru/index.php?action=callback`)
17+
18+
4. Create `www/config.php` from `www/config.php.sample`, inserting both OAuth keys.
19+
20+
5. Create `data` directory and give writing permissions for it to web server process.
1721
Check path in `config.php`. Maybe you'll also need `httpd_sys_rw_content` SELinux tag.
1822

1923
You're set: download some data in the editor and login to OSM.

0 commit comments

Comments
 (0)