HomePhabricator
Diffusion Comm 361377ad6c39

[identity] unlink farcaster account RPC

Description

[identity] unlink farcaster account RPC

Summary:

  • new RPC defined in auth.proto file
  • identity service implementation
  • db client method to remove the farcasterID attribute from DDB
  • grpc-web codegen updates

Depends on D11413

Test Plan:

  1. added a farcaster ID to a user with the link RPC
  2. confirmed the ID appeared in DDB
  3. called the unlink RPC
  4. confirmed the ID no longer appeared in DDB
  5. called the unlink RPC again and it succeeded, but nothing changed in DDB, as expected

Reviewers: bartek, ashoat

Reviewed By: bartek, ashoat

Subscribers: tomek

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

Details

Provenance
varunAuthored on Mar 27 2024, 4:36 PM
Reviewer
bartek
Differential Revision
D11423: [identity] unlink farcaster account RPC
Parents
rCOMM7e269eae587e: [identity] on linkFarcasterUser we should return an error if the FID already…
Branches
Unknown
Tags
Unknown