HomePhabricator
Diffusion Comm b4e3bcbd2ac2

[lib][native][web] Introduce useSecondaryDeviceLogIn

Description

[lib][native][web] Introduce useSecondaryDeviceLogIn

Summary:
This diff does two things:

  1. Factors out shared logic around secondary device login on web and native
  2. Makes sure we perform authoritative keyserver auth as part of that. This mostly addresses ENG-8123

Depends on D12113

Test Plan: I tested the flow using staging, with my phone as a primary device and a local simulator as a secondary device

Reviewers: bartek, tomek

Reviewed By: bartek

Differential Revision: https://phab.comm.dev/D12114

Details

Provenance
ashoatAuthored on May 20 2024, 3:00 AM
Reviewer
bartek
Differential Revision
D12114: [lib][native][web] Introduce useSecondaryDeviceLogIn
Parents
rCOMM55c6bdebe0c6: [lib] Refactor useLogIn to be more generic
Branches
Unknown
Tags
Unknown