Page MenuHomePhabricator

[keyserver][lib] Add Neynar config for keyserver/web/landing
ClosedPublic

Authored by ashoat on May 5 2024, 12:08 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Dec 3, 4:31 AM
Unknown Object (File)
Nov 16 2024, 7:45 PM
Unknown Object (File)
Nov 16 2024, 4:15 PM
Unknown Object (File)
Nov 11 2024, 8:43 PM
Unknown Object (File)
Nov 11 2024, 5:10 PM
Unknown Object (File)
Nov 11 2024, 1:55 PM
Unknown Object (File)
Nov 11 2024, 4:46 AM
Unknown Object (File)
Oct 20 2024, 11:51 PM
Subscribers

Details

Summary

It isn't needed on landing yet, but it gets included automatically so I figured that there's no downside.

For keyserver it will be accessed via getCommConfig. On web and landing it will be access via process.env.COMM_NEYNAR_KEY.

It will be configured either by setting keyserver/secrets/neynar.json, or by the env var COMM_JSONCONFIG_secrets_neynar.

This approach follows what we're done for the Alchemy and WalletConnect API keys.

This addresses ENG-7424.

Test Plan

I tested this in combination with later diffs on both keyserver and web:

  1. I specified keyservers/secrets/neynar.json
  2. For keyserver, I tested that Farcaster usernames worked in notifs
  3. For web, I tested that Farcaster usernames were resolved in robotext

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable