From cd7e01100eae142806373e84a9006b103c80f18e Mon Sep 17 00:00:00 2001 From: nelind Date: Fri, 5 Jun 2026 12:49:11 +0200 Subject: [PATCH] chore(auth): also mention that atproto spec requiers typ be "JWT" for inter-service tokens --- Cargo.lock | 1 + crates/tranquil-auth/src/types.rs | 1 + 2 files changed, 2 insertions(+) diff --git a/Cargo.lock b/Cargo.lock index 791338f..4697da5 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -7837,6 +7837,7 @@ dependencies = [ "sha2", "sqlx", "subtle", + "tempfile", "testcontainers", "testcontainers-modules", "thiserror 2.0.18", diff --git a/crates/tranquil-auth/src/types.rs b/crates/tranquil-auth/src/types.rs index cbd99b8..6872b7d 100644 --- a/crates/tranquil-auth/src/types.rs +++ b/crates/tranquil-auth/src/types.rs @@ -16,6 +16,7 @@ impl TokenType { Self::Access => "at+jwt", Self::Refresh => "refresh+jwt", // RFC 7519 ยง5.1 recommends the uppercase "JWT". + // and for atproto inter-service auth its a requirement. Self::Service => "JWT", } }