HomePhabricator
Diffusion Comm b1dff3d63e23

[lib][native][web] Introduce usePasswordLogIn hook

Description

[lib][native][web] Introduce usePasswordLogIn hook

Summary:
This addresses ENG-7681, ENG-7671, and ENG-7673.

This furthers the goal of the parent task, which is to move authoritative keyserver auth from KeyserverConnectionHandler to the individual components responsible for login.

Depends on D11763

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/D11765

Details

Provenance
ashoatAuthored on Mon, Apr 22, 5:11 PM
Reviewer
inka
Differential Revision
D11765: [lib][native][web] Introduce usePasswordLogIn hook
Parents
rCOMM60e5ad1f8f90: [lib][native][web] Rename useLogIn to useLegacyLogIn
Branches
Unknown
Tags
Unknown