zlant / parking-lanes

Parking lanes viewer from OpenStreetMap
https://zlant.github.io/parking-lanes/
MIT License
77 stars 13 forks source link

OSM auth doesn't work #136

Closed Discostu36 closed 1 year ago

Discostu36 commented 1 year ago

I can't use the integrated editor. If I try to, the OpenStreetMap authentication windows opens. I grant permission. The window goes blank but stays open. Nothing happens, editing not possible.

Discostu36 commented 1 year ago

Console error:

Uncaught TypeError: opener is null

tordans commented 1 year ago

Will have a look...

tordans commented 1 year ago

@Discostu36 can you share the steps to reproduce. I tried two Szenarios but those worked fine.

tordans commented 1 year ago

This is a case that does work (even though I did not expect it to (the logout does not log out the app) :))

  1. I logged in via the app I now have oauth_* token in my Local Storage
  2. I logged out of osm.org
  3. I was able to make changes and save them (without logging in again)
Discostu36 commented 1 year ago

I can' reproduce the error myself. I am on a different machine than when it occurred. But I guess it will go away if I just clear my osm/zlant cookies on that one and try again.