Page MenuHomePhabricator

[lib][native][web] Introduce useSecondaryDeviceLogIn
ClosedPublic

Authored by ashoat on May 20 2024, 3:59 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Nov 8, 9:48 AM
Unknown Object (File)
Thu, Nov 7, 2:40 PM
Unknown Object (File)
Thu, Nov 7, 10:06 AM
Unknown Object (File)
Thu, Nov 7, 8:53 AM
Unknown Object (File)
Thu, Nov 7, 7:39 AM
Unknown Object (File)
Thu, Nov 7, 7:21 AM
Unknown Object (File)
Thu, Nov 7, 7:19 AM
Unknown Object (File)
Thu, Nov 7, 6:48 AM
Subscribers
None

Details

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

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

bartek added inline comments.
web/account/qr-code-login.react.js
70 ↗(On Diff #40388)

sounds a bit more natural, but no strong opinion

This revision is now accepted and ready to land.May 20 2024, 7:46 AM
This revision was landed with ongoing or failed builds.May 21 2024, 1:11 AM
This revision was automatically updated to reflect the committed changes.