Page MenuHomePhabricator

[lib][web][native] Send CSAT in getKeyserverOverrideForAnInviteLink
ClosedPublic

Authored by bartek on Jun 13 2024, 11:40 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Nov 15, 11:06 AM
Unknown Object (File)
Fri, Nov 15, 2:14 AM
Unknown Object (File)
Fri, Nov 15, 1:37 AM
Unknown Object (File)
Sun, Nov 10, 12:22 AM
Unknown Object (File)
Fri, Nov 1, 5:39 PM
Unknown Object (File)
Oct 13 2024, 6:36 AM
Unknown Object (File)
Oct 13 2024, 6:36 AM
Unknown Object (File)
Oct 13 2024, 6:36 AM
Subscribers

Details

Summary

getKeyserverOverrideForAnInviteLink() performs a Blob Service request but doesn't send Authorization header.
Followed multimedia fetching code and added optional AuthMetadata that is sent if usingCSAT == true.

Test Plan
  • On my local keyserver, created a community and created invite link
  • Opened the link in the browser - invitation was successful.
  • Searched Blob Service debug logs - Authorization header was present.

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

bartek held this revision as a draft.
bartek published this revision for review.Jun 14 2024, 3:00 AM
bartek edited the test plan for this revision. (Show Details)
This revision is now accepted and ready to land.Jun 14 2024, 5:36 AM

cc @ginsu, as I know the Farcaster channel work is closely modeled after the invite link work, and might have the same problem