Two-factor authentication causes endless registration loop #210

Closed
opened 2019-03-16 11:03:29 +01:00 by jaranta · 5 comments
jaranta commented 2019-03-16 11:03:29 +01:00 (Migrated from github.com)

Describe the bug
Two-factor authentication on the same device as Indigenous requires navigating away from the registration screen while the registration is still unfinished. However, navigating away from Indigenous causes the registration to reset, making it impossible to add new accounts.

To Reproduce
Steps to reproduce the behavior:

  1. Try to register a new account that has 2fa enabled.
  2. Navigate away from Indigenous to get the 2fa code.
  3. Go back to Indigenous.
  4. Registration flow has been interrupted.

Expected behavior
Indigenous remembers the registration attempt while it is still going on.

Smartphone (please complete the following information):

  • Device: Faiphone 2
  • Android version: 7.1.2
**Describe the bug** Two-factor authentication on the same device as Indigenous requires navigating away from the registration screen while the registration is still unfinished. However, navigating away from Indigenous causes the registration to reset, making it impossible to add new accounts. **To Reproduce** Steps to reproduce the behavior: 1. Try to register a new account that has 2fa enabled. 2. Navigate away from Indigenous to get the 2fa code. 3. Go back to Indigenous. 4. Registration flow has been interrupted. **Expected behavior** Indigenous remembers the registration attempt while it is still going on. **Smartphone (please complete the following information):** - Device: Faiphone 2 - Android version: 7.1.2
swentel commented 2019-03-16 11:21:06 +01:00 (Migrated from github.com)

Oh, very interesting. I know I've had this with some other apps as well. I then put both apps in split screen mode to achieve that, but that's of course totally not ideal (I'm not even sure at which android version is introduced, so probably not even everyone can do that).

I'll look into this soon!

Oh, very interesting. I know I've had this with some other apps as well. I then put both apps in split screen mode to achieve that, but that's of course totally not ideal (I'm not even sure at which android version is introduced, so probably not even everyone can do that). I'll look into this soon!
jaranta commented 2019-03-17 11:14:04 +01:00 (Migrated from github.com)

Apparently mine does: I just found out because of your comment. That will allow me to complete the registration, but I do appreciate you looking into this!

Apparently mine does: I just found out because of your comment. That will allow me to complete the registration, but I do appreciate you looking into this!
vikanezrimaya commented 2019-09-03 03:32:24 +02:00 (Migrated from github.com)

I think it's dependent on device size and manufacturer's wishes, I remember having a device that won't go in split-screen unless you flash AOSP on it...

With password managers not providing reliable autofill it's also a critical issue.

I think it's dependent on device size and manufacturer's wishes, I remember having a device that won't go in split-screen unless you flash AOSP on it... With password managers not providing reliable autofill it's also a critical issue.
swentel commented 2019-10-22 22:44:16 +02:00 (Migrated from github.com)

I still have not figured out how to fix this. Documented it for now in the README.

I still have not figured out how to fix this. Documented it for now in the README.
vikanezrimaya commented 2019-10-23 08:12:28 +02:00 (Migrated from github.com)

Maybe something like saving WebView state in onSaveActivityState? That's how we were taught to preserve state when switching apps or rotating screen...

Maybe something like saving WebView state in onSaveActivityState? That's how we were taught to preserve state when switching apps or rotating screen...
This discussion has been locked. Commenting is limited to contributors.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
inhji/indiepass-android#210
No description provided.