Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Password changed form changes #1258

Open
3 tasks done
kueda opened this issue Mar 20, 2023 · 2 comments
Open
3 tasks done

Password changed form changes #1258

kueda opened this issue Mar 20, 2023 · 2 comments

Comments

@kueda
Copy link
Member

kueda commented Mar 20, 2023

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

  • Text should read, "You have been signed out. Please sign in again."
  • Show the username/email field so the user can enter a new one
  • Add a "Cancel" button or a back arrow so the user can get out of this screen. When they tap it they should be fully signed out, including removing un-uploaded observations. When they tap this button, show a confirmation dialog with the text in the alert_sign_out key.
@kueda
Copy link
Member Author

kueda commented Apr 17, 2023

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
Copy link
Contributor

@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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants