Page MenuHomePhabricator

[lib] Extract useRawKeyserverAuth
ClosedPublic

Authored by ashoat on Apr 24 2024, 12:39 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Jun 14, 3:45 PM
Unknown Object (File)
Mon, Jun 10, 11:02 AM
Unknown Object (File)
Mon, Jun 10, 10:37 AM
Unknown Object (File)
Mon, Jun 10, 10:37 AM
Unknown Object (File)
Thu, May 23, 5:28 AM
Unknown Object (File)
Apr 30 2024, 6:45 PM
Unknown Object (File)
Apr 29 2024, 11:59 AM
Unknown Object (File)
Apr 28 2024, 11:15 AM
Subscribers
None

Details

Summary

This addresses ENG-7668, which is explained more in its parent ENG-7667.

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.
lib/keyserver-conn/keyserver-auth.js
28 ↗(On Diff #39447)

Once D11758 is landed, we should probably use permissionsAndAuthRelatedRequestTimeout

This revision is now accepted and ready to land.Apr 25 2024, 2:22 AM
lib/keyserver-conn/keyserver-auth.js
28 ↗(On Diff #39447)

I don't think so. This isn't a timeout for the request; rather, it's a delay between retries

This revision was automatically updated to reflect the committed changes.