Page MenuHomePhabricator

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

Authored by bartek on Thu, Jun 13, 11:40 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Jun 22, 9:11 PM
Unknown Object (File)
Fri, Jun 21, 6:04 PM
Unknown Object (File)
Wed, Jun 19, 8:34 PM
Unknown Object (File)
Tue, Jun 18, 1:05 PM
Unknown Object (File)
Mon, Jun 17, 10:31 PM
Unknown Object (File)
Mon, Jun 17, 10:29 PM
Unknown Object (File)
Sun, Jun 16, 11:59 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.Fri, Jun 14, 3:00 AM
bartek edited the test plan for this revision. (Show Details)
This revision is now accepted and ready to land.Fri, Jun 14, 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