inaturalist / iNaturalistAndroid

Android app for iNaturalist.org
https://market.android.com/details?id=org.inaturalist.android
MIT License
165 stars 57 forks source link

Password changed form changes #1258

Open kueda opened 1 year ago

kueda commented 1 year ago

When the oauth access token the app stores no longer works, the user sees a "Log in" screen with this message:

The password the app uses no longer works - did you change your password on the website? Please enter the new one here

The user can sign in by entering only a password, or they can try to reset their password with the "Forgot?" button, but they cannot completely sign out, or enter a new username or email if those attributes have changed (e.g. if users were merged). This seems to be leading some people to get "stuck" on this screen, especially in situations where they keep reinstalling a cached version of the app with an invalid oauth access token (I think).

So I'd like a few changes

kueda commented 1 year ago

This is all working as described, but the only way I can get to this screen is by going to use settings. If I try to upload an observation or pull-to-sync on My Observations, I just see a temporary alert in a green bar that often disappears so quickly I can't read it:

original_f4aadb9d-be18-4d1b-999b-8f73a1581ced_Screenshot_20230417-123920

Can we take the user to the log in screen from there as well?

budowski commented 1 year ago

@kueda - currently, this screen gets triggered when refreshing user details - this happens in the background, maximum once a minute. This refresh-user-details procedure gets called on when screen is loaded (when switching between screens or when the app first loads).