Hi, I set up my own OSM server and launch it in the development mode. I have a backend RDS server in AWS with data populated. Also, per instruction (https://github.com/openstreetmap/openstreetmap-website/blob/master/CONFIGURE.md), I registered application (in localhost) and update consumer key in application.yml. However, every time when I try to save my local changes in the iD editor, a popup window shows up to ask permission. After clicking "Grant Access", I always see an error message: No route matches [GET] "/land.html". Full trace is attached below: actionpack (5.1.5) lib/action_dispatch/middleware/debug_exceptions.rb:63:in If I set oauth_10_support to false in application.yml, the authorization process seems to come through. However, the popup window does not go away and the save button is still grayed out. If I reload the page and try to save again, I would still be asked for permission. Interestingly, the Potlatch editor works perfectly fine. No permission is asked and changes can be saved to database successfully. Does anyone have a hit what might go wrong? Thanks! asked 09 Apr '18, 06:50 zlzhao1104 |
Never mind. I just resolved the issue. Originally, I only allowed iD to request the “modify the map” permission from user. I just tried to allow it to request all permissions and it worked well. answered 09 Apr '18, 23:06 zlzhao1104 As you cannot accept your own answers, I've marked this as accepted.
(10 Apr '18, 12:37)
SK53 ♦
|