HomePhabricator
Diffusion Comm 5d9862b54918

[Identity] Refactor access token verification to be more usable

Description

[Identity] Refactor access token verification to be more usable

Summary:
Verifying if an access token is valid will be a common
action with many of the API calls. We should make this as ergonomic
as possible.

Part of https://linear.app/comm/issue/ENG-3943

Test Plan:
Set up identity service and localstack

nix develop

(cd services/identity && RUST_LOG=debug cargo run -- server)
(cd services/commtest && cargo test --test identity_access_tokens_tests)

Reviewers: varun, bartek

Reviewed By: varun, bartek

Subscribers: ashoat, tomek

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

Details

Provenance
jonAuthored on Jun 4 2023, 6:45 PM
Reviewer
varun
Differential Revision
D8094: [Identity] Refactor access token verification to be more usable
Parents
rCOMMdf91b42e7002: [native] Style RegistrationTerms
Branches
Unknown
Tags
Unknown