HomePhabricator
Diffusion Comm 6853e9c0f6dd

[native] Auth with authoritative keyserver directly from registration flow

Description

[native] Auth with authoritative keyserver directly from registration flow

Summary:
In an earlier diff, we extracted useKeyserverAuth out of KeyserverConnectionHandler. In this diff, we call it directly from the registration flow.

This addresses ENG-7669.

Depends on D11762

Test Plan:
This whole stack was tested with the following steps:

  1. On native, attempting to log in with an ETH account that hasn’t been registered yet
  2. On native, attemping to register with an ETH account that has already been registered
  3. On native, log in with an ETH account that has already been registered
  4. On native, register with an ETH account that hasn’t already been registered
  5. On native, register with a password account
  6. On native, log in with a password account
  7. On web, attempting to log in with an ETH account that hasn’t been registered yet
  8. On web, log in with an ETH account that has already been registered
  9. On web, log in with a password account

Reviewers: tomek, inka

Reviewed By: inka

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

Details

Provenance
ashoatAuthored on Mon, Apr 22, 9:31 AM
Reviewer
inka
Differential Revision
D11763: [native] Auth with authoritative keyserver directly from registration flow
Parents
rCOMMb6892dc7ad72: [lib] Don't try authing to authoritative keyserver from…
Branches
Unknown
Tags
Unknown