Open Bug 1828007 Opened 2 years ago Updated 1 year ago

Accounts login flow should persist state when returning back to the homescreen

Categories

(Fenix :: Accounts and Sync, defect)

All
Android
defect

Tracking

(Not tracked)

People

(Reporter: denschub, Unassigned)

Details

Steps to reproduce

  1. Set up an account with active 2fa.
  2. Start the sign in process. Scan the QR code. Enter username and password.
  3. On the 2fa token screen, minimize Fenix, and open another app. The user who reported this opened their 2fa application (Google Authenticator).
  4. Re-open Firefox by tapping the home screen icon instead of using the app switcher.

Expected behavior

Sign-in state is still asking for a 2fa token.

Actual behavior

Sign-in state gets reset to the initial "Sign in with your camera" screen, forcing the user to restart the auth flow from the beginning.

Device information

  • Firefox version: Current 114 Nightly

Any additional information?

I'm filing this for a user who reported it on Reddit.

The severity field is not set for this bug.
:royang, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(royang)

A quick look at this issue suggest that this issue is caused by the page getting reloaded/refreshed when the user returned to the sign in page. This is probably due to Android OS clearing Firefox Android's memory since this login flow involves loading 3 applications: Firefox, Google Authenticator and Camera.

Flags: needinfo?(royang)
Severity: -- → S3
Component: Accounts and Sync → App Links

This does not feel like it belongs into the App Links component, as it's something that, if at all, probably needs to be handled within the Accounts implementation? Can you double-check, Roger?

Flags: needinfo?(royang)

My mistake. This is not an app links issue. I'll move it back to account and sync. Sorry about this.

Flags: needinfo?(royang)
Component: App Links → Accounts and Sync
You need to log in before you can comment on or make changes to this bug.