HomePhabricator
Diffusion Comm 2888481aa9b7

[backup] Add AuthService to HTTP server

Description

[backup] Add AuthService to HTTP server

Summary:
We already have this for Blob and Reports. Backup needs this also for middleware to be working.
AuthService is a struct living in Actix-web data, that handles calling Identity for verifying CSAT,
and provides utilities for service-to-service tokens.

Test Plan: Tested in the next diff.

Reviewers: varun, will, marcin

Reviewed By: varun

Subscribers: ashoat, tomek

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

Details

Provenance
bartekAuthored on Jun 12 2024, 8:27 AM
Reviewer
varun
Differential Revision
D12413: [backup] Add AuthService to HTTP server
Parents
rCOMMb19587c8124d: [comm-lib] Add env var to disable CSAT verification
Branches
Unknown
Tags
Unknown