HomePhabricator
Diffusion Comm 3eddb98ceda3

[lib] Use identity service for keyserver session recovery

Description

[lib] Use identity service for keyserver session recovery

Summary:
This diff is gated on usingCommServicesAccessToken. We fall back to legacy keyserver auth if the new identity-based workflow doesn't work.

Depends on D11499

Test Plan:
Tested in combination with later diffs:

  1. Set up multi-keyserver environment following Notion doc
  2. Test native keyserver recovery via keyserverAuth by deleting a cookie in MariaDB console
  3. Hardcode incorrect userID, try same test as 2, and confirm that it fails
  4. Test web keyserver recovery in the same way as in 2
  5. Test incorrect userID on web in the same way as in 3

Reviewers: tomek, inka

Reviewed By: tomek

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

Details

Provenance
ashoatAuthored on Feb 13 2024, 1:47 PM
Reviewer
tomek
Differential Revision
D11500: [lib] Use identity service for keyserver session recovery
Parents
rCOMMe1f3fd553bba: [lib] Factor out innerPerformAuth for use in keyserver session recovery
Branches
Unknown
Tags
Unknown