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.
Details
Details
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)
Diff Detail
Diff Detail
- Repository
- rCOMM Comm
- Branch
- jonringer/refresh-keys
- Lint
No Lint Coverage - Unit
No Test Coverage
Event Timeline
services/commtest/tests/identity_access_tokens_tests.rs | ||
---|---|---|
28 ↗ | (On Diff #27444) | might be worth adding a comment above this line explaining that the device ID is the primary ed25519 public key from the above payload |