osmandapp / OsmAnd

OsmAnd
https://osmand.net
Other
4.6k stars 1.01k forks source link

Remove login/password authorization in OpenStreetMap Editing plugin #19970

Closed dmpr0 closed 3 months ago

dmpr0 commented 3 months ago

Description

Due to deprecation https://github.com/openstreetmap/operations/issues/867 of this methods of authorization we need to remove button Use username and password in login dialog.

Previous task https://github.com/osmandapp/OsmAnd/issues/18243

ToDo

Main bottom sheet Benefits... Upload OSM Note
Nine-Tailed commented 3 months ago

But today authorization via OAuth does not work. The problem in Osmand or on the OSM website is not clear. Now you can only log in using your username and password. Screenshot_2024-05-28-23-09-35-013_com.vivaldi.browser-edit.jpg

mnalis commented 3 months ago

@Nine-Tailed which OsmAnd version are you using? Have you logged in using Oauth2 or old Oauth1.0a?

see https://community.openstreetmap.org/t/oauth-1-0a-and-http-basic-auth-shutdown/108490/17 there are intentional occasional brownouts active for old Oauth 1.0a.

It is intended that with 1 June 2024 neither old Oauth 1.0a nor login/password will work any anymore. So the username/password workaround that you mention will only work for few more days.

Only new Oauth 2.0 will be supported from June 1st onwards, and it requires both new OsmAnd and a re-login (i.e. Settings / Plugins / OpenStreetMap editing / Settings / logout icon near Account / Login to OpenStreetMap (appers in its place) / Sign in with OpenStreetMap)

However, currently OsmAnd Oauth2 login is broken too, see this: https://github.com/osmandapp/OsmAnd/issues/19841#issuecomment-2136407479

Nine-Tailed commented 3 months ago

@mnalis osmand 4.7.17.

shurasmiling commented 3 months ago