Teester / Whats-Nearby

Android App for collecting information about POIs for OpenStreetMap
GNU General Public License v3.0
13 stars 2 forks source link

Revoke OSM authorisation correctly #24

Open Teester opened 6 years ago

Teester commented 6 years ago

Currently, when the user presses Log Out, we just delete the oauth tokens in the app. If the user logs in again, we then request new oauth tokens from www.openstreetmap.org. This leads to multiple authorizations for What's Nearby appearing on https://www.openstreetmap.org/user/*USERNAME*/oauth_clients.

We need to send a request invalidating the tokens to www.openstreetmap.org. However, I can't seem to find the url to do this.