Page MenuHomePhabricator

[keyserver] update identity service client to add authorization metadata
ClosedPublic

Authored by varun on Feb 21 2023, 7:56 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, May 10, 11:41 PM
Unknown Object (File)
Fri, May 10, 11:41 PM
Unknown Object (File)
Fri, May 10, 11:41 PM
Unknown Object (File)
Fri, May 10, 11:22 PM
Unknown Object (File)
Apr 17 2024, 3:59 AM
Unknown Object (File)
Apr 17 2024, 3:59 AM
Unknown Object (File)
Apr 17 2024, 3:58 AM
Unknown Object (File)
Apr 17 2024, 3:53 AM
Subscribers

Details

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

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable