Page MenuHomePhabricator

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

Authored by ashoat on Wed, Apr 24, 12:43 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, May 2, 8:17 PM
Unknown Object (File)
Thu, May 2, 4:37 PM
Unknown Object (File)
Thu, May 2, 2:39 PM
Unknown Object (File)
Thu, May 2, 1:23 PM
Unknown Object (File)
Wed, May 1, 4:45 PM
Unknown Object (File)
Tue, Apr 30, 3:09 PM
Unknown Object (File)
Wed, Apr 24, 2:39 PM
Unknown Object (File)
Wed, Apr 24, 2:38 PM
Subscribers
None

Details

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

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

inka added inline comments.
web/account/siwe-login-form.react.js
81 ↗(On Diff #39504)

If we removed identity from useWalletLogIn name, should we also remove it from identityWalletLogIn and attemptIdentityWalletLogIn?

This revision is now accepted and ready to land.Fri, Apr 26, 6:53 AM

Use the name walletLogIn for the result of useWalletLogIn(), and rename attemptIdentityWalletLogIn to attemptWalletLogIn

This revision was landed with ongoing or failed builds.Fri, Apr 26, 8:18 AM
This revision was automatically updated to reflect the committed changes.