Page MenuHomePhabricator

[identity] Support service-to-service token in auth RPCs
DraftPublic

Authored by bartek on Thu, Mar 20, 3:58 AM.
This is a draft revision that has not yet been submitted for review.

Details

Reviewers
kamil
tomek
Summary

To call authenticated RPCs from other services, we have to support providing s2s token.
Modified the interceptor to look for the token, in addition to traditional Auth Metadata (uid + did + csat).

Test Plan

Tested locally, using GUI gRPC client and default localstack-stored service-to-service token.

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage