OPENER-next / OpenStop

App for collecting OpenStreetMap-compliant accessibility data in public transport
https://openstop.app
GNU General Public License v3.0
65 stars 13 forks source link

Logging out (and logging in with a different account) is impossible #129

Closed wielandb closed 10 months ago

wielandb commented 1 year ago

Problem

Once you log into an OSM-account in OpenStop, it is impossible to log in with another account. Logging out and logging in again just results in your previous account automatically being authorized. (See attached video)

Even reinstalling the app does not solve this problem. 🫥

https://user-images.githubusercontent.com/29458682/210393547-9e15a4cb-d194-4fa7-b188-3a9150776603.mp4

Which app version do you use?

0.3.0+8

What operating system do you use?

Android

What operating system version do you use?

10

Additional information

No response

Robbendebiene commented 1 year ago

The reason this happens is because you likely ticked the "remember me" box. For security reasons the login process is done entirely in your browser wherefore we have no control over the set cookies.

In theory we should be able to open an ephemeral session/incognito tab but it is currently only working on iOS: https://github.com/LinusU/flutter_web_auth/issues/144

As a workaround you should be able to clear the cache or logout of OSM in the browser that handles this process.


OSM related issue: https://github.com/openstreetmap/openstreetmap-website/issues/3103