Page MenuHomePhabricator

[web] update QR login flow to use `QRAuthContext`
ClosedPublic

Authored by kamil on Mon, Jun 17, 3:55 AM.
Tags
None
Referenced Files
F2109183: D12450.id41510.diff
Tue, Jun 25, 3:32 PM
F2108819: D12450.diff
Tue, Jun 25, 2:23 PM
F2107170: D12450.id41500.diff
Tue, Jun 25, 9:38 AM
Unknown Object (File)
Mon, Jun 24, 6:30 PM
Unknown Object (File)
Mon, Jun 24, 12:05 PM
Unknown Object (File)
Mon, Jun 24, 10:46 AM
Unknown Object (File)
Mon, Jun 24, 4:03 AM
Unknown Object (File)
Sun, Jun 23, 4:14 AM
Subscribers

Details

Summary

ENG-8385.

QR code login is not working right now. As described here (Point 3) and here the issue is occuring because of the fact that useQRAuth is unmounting before it can send SECONDARY_DEVICE_REGISTRATION_SUCCESS. This stack is refactoring the code to move logic to context (see here).

Rendering context and de-duplicating logic.

Depends on D12449

Test Plan

Test QR login flow on web. Adding a bunch of logs to make sure it works and all messages are sent.

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable