HomePhabricator
Diffusion Comm 0a228dba9a24

[keyserver] update identity service client to add authorization metadata

Description

[keyserver] update identity service client to add authorization metadata

Summary: the identity service is now set up to only accept authorized requests. the keyserver needs to provide an agreed upon token as part of the request metadata.

Test Plan:
called the registerUser RPC from keyserver, and it only worked with the correct authorization token in the request metadata.

i.e. if the wrong token is set as an environment variable, an error status is returned

Reviewers: jon, tomek, bartek

Reviewed By: jon

Subscribers: ashoat, atul

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

Details

Provenance
varunAuthored on Feb 21 2023, 7:52 PM
Reviewer
jon
Differential Revision
D6825: [keyserver] update identity service client to add authorization metadata
Parents
rCOMMdbed4bc20c94: [identity] check that incoming requests contain valid auth token
Branches
Unknown
Tags
Unknown