HomePhabricator
Diffusion Comm 84670804db33

[lib][native][web] Introduce useWalletLogIn hook

Description

[lib][native][web] Introduce useWalletLogIn hook

Summary:
This addresses ENG-7680, ENG-7670, and ENG-7672.

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 D11767

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

Details

Provenance
ashoatAuthored on Apr 23 2024, 1:40 PM
Reviewer
inka
Differential Revision
D11768: [lib][native][web] Introduce useWalletLogIn hook
Parents
rCOMMce4b2c8e917d: [native] Use useRegistrationServerCall in FullscreenSIWEPanel for identity…
Branches
Unknown
Tags
Unknown