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)
Thu, Dec 19, 5:01 AM
Unknown Object (File)
Thu, Dec 19, 5:01 AM
Unknown Object (File)
Thu, Dec 19, 5:00 AM
Unknown Object (File)
Thu, Dec 19, 5:00 AM
Unknown Object (File)
Wed, Nov 27, 5:20 PM
Unknown Object (File)
Nov 23 2024, 10:30 PM
Unknown Object (File)
Nov 23 2024, 9:00 PM
Unknown Object (File)
Nov 15 2024, 11:06 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