Coder Social home page Coder Social logo

Comments (11)

dfandrich avatar dfandrich commented on June 22, 2024 1

from osmand.

dfandrich avatar dfandrich commented on June 22, 2024 1

from osmand.

dfandrich avatar dfandrich commented on June 22, 2024

Version 4.7 supports oauth2: https://osmand.net/blog/osmand-android-4-7-released/#oauth-20-for-osm-login

from osmand.

DmitryAlexei avatar DmitryAlexei commented on June 22, 2024

@maltfield Please update OsmAnd to the latest version and try again.

from osmand.

maltfield avatar maltfield commented on June 22, 2024

The reason I'm running an older version is because I get an error

Could not calculate route.: Empty result

...when I try to calculate a route (with GPS disabled) on newer versions of OsmAnd.

I had to downgrade before a recent trip to make this error go away. At your request, I just upgraded to OsmAnd v4.7.10, and the error re-appears. Unfortunately, I can't use these versions since route calculations are broken. Is this a known bug?

Update: before I downgrade again, I opened a separate bug for this:

from osmand.

maltfield avatar maltfield commented on June 22, 2024

I'm going to downgrade again shortly -- but before I do -- I opened OsmAnd (v4.7.10) and went to Hamburger Menu -> Plugins -> OpenStreetMap editing -> overflow menu -> Settings -> Login to OpenStreetMap -> Sign in with OpenStreetMap.

That opened a web browser. I typed my username and my password, and clicked the Log in button. This brought me to a page that says

Webpage not available
The webpage at https://www.openstreetmap.org/login could not be loaded because:
net::ERR_HTTP_RESPONSE_CODE_FAILURE

So I'm still stuck.

from osmand.

maltfield avatar maltfield commented on June 22, 2024

I copied the URL to another (non-security-hardened) web browser on my phone, and I was able to login.

But, after I login, wtf am I supposed to do? I'm logged-in on my browser; I'm not logged-in in the app.

So I'm still stuck. I can't upload my changeset in this newer version of OsmAnd, either.

from osmand.

dfandrich avatar dfandrich commented on June 22, 2024

from osmand.

DmitryAlexei avatar DmitryAlexei commented on June 22, 2024

@malfield
Please consider using the latest version of OsmAnd from Google Play and default browser and see if it is working for you.
For correct routing results, please update your maps to the latest version.
Also note, that OsmAnd team is not responsible for f-droid version of the app.

from osmand.

maltfield avatar maltfield commented on June 22, 2024

I can't run Google Play because I don't have gapps installed. All users can intsall OsmAnd from F-Droid. Not all users can install it from Google Play.

OsmAnd does not prompt me which browser to open.

Since this workflow is broken due to this bug, is there a guide describing a workaround for how I can generate the OAuth keys and then copy and paste them manually into OsmAnd?

from osmand.

maltfield avatar maltfield commented on June 22, 2024

Choosing the username/password form of login instead of oauth worked for me, although it's less secure and desirable.

@dfandrich did you auth with this method recently? OSM deprecated HTTP Basic Auth 7 days ago, so I would be surprised if this method still works..

from osmand.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.