Page MenuHomePhabricator

Logging out on web logs out iOS 2FA session
Closed, ResolvedPublic

Description

2FA variant of https://phabricator.wikimedia.org/T229264

Note:
We are applying the same fix here as we did in https://phabricator.wikimedia.org/T403480. If automatic login fails due to lack of a 2FA code, the 2FA form should automatically present instead of silently failing.

Test Steps

  1. Install app (main 8.0.0 6033), login to 2FA account.
  2. Log into same account on web.
  3. Log out on web.
  4. Do something in the app to trigger background login (relaunch app or visit notifications center, foregrounding the app will also do it on a 30 second cadence).
  5. Ensure 2FA code input form appears with its custom message. Enter 2FA code. Ensure screen dismisses and app acts as it did before (logged in, can still load user data).
  6. Repeat steps 1 - 6, but this time tap Cancel when 2FA code input form appears. Ensure app logs you out when cancelling

Event Timeline

LGoto triaged this task as Low priority.Dec 17 2019, 7:26 PM
LGoto moved this task from Needs Triage to Engineering Backlog on the Wikipedia-iOS-App board.

@Mhurd, do you think this ticket needs more info before it can be moved to Eng sync?

Tsevener updated the task description. (Show Details)
ABorbaWMF subscribed.

Testing on 8.0.1 (6040)
Looks good on:
iPhone 16, iOS 26.2.1
iPad Air 11 inch, iPadOS 26.3.1