-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Saving edits results in an oauth2 error pop-up #10250
Comments
After opening iD in a new tab as mentioned, I thought maybe copying over the oauth2 token to the initial tab would work. However, the value was now already there (I guess iD filled it in the background and the I'm not sure if you have any idea how to find out what caused this token value to be empty, but:
|
Happened again, this time after I left the editor open overnight accidentally so maybe the oauth2 token expired in the meantime? Very happy I documented here for myself how to fix it, was afraid it would require editing some complicated localStorage thing but no: as stated above, opening iD in a new tab and then pressing upload in the original tab worked also this time. |
For anyone seeing this error while trying to use iD from localhost, use 127.0.0.1 instead |
URL
https://www.openstreetmap.org/edit
How to reproduce the issue?
Screenshot(s) or anything else?
The URL of the pop-up is
https://www.openstreetmap.org/oauth2/authorize?client_id=...&code_challenge=S5...&code_challenge_method=S256&redirect_uri=https%3A%2F%2Fwww.openstreetmap.org%2Fidland.html&response_type=code&scope=read_prefs write_prefs write_api read_gpx write_notes&state=...
The UI disables itself but the normal save menu does not appear:
localStorage["https://www.openstreetmap.orgoauth2_access_token"] == ""
not sure if this is normal?How can I download my changes if the save menu does not open?
localStorage["iD_https://www.openstreetmap.org_saved_history"]
contains about 300 kB data, I guess that's my edit. Can I restore this somehow?Opening the editor in a new tab results in a new iD session, asking me (sigh again...) to take the walkthrough and whether to show third party icons. There are no edits queued in this session. Looking in
localStorage
, the oauth2 access token value is now filled, but there are also values for...orgoauth_*
(without a 2) that are all empty. The save menu here works normally, though I haven't tried clicking Upload. Can I restore my work here somehow?Which deployed environments do you see the issue in?
No response
What version numbers does this issue effect?
2.29.0
Which browsers are you seeing this problem on?
Firefox
The text was updated successfully, but these errors were encountered: