a collection of lightweight TypeScript packages for AT Protocol, the protocol powering Bluesky
atproto bluesky typescript npm
101
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix(xrpc-server): gracefully handle service jwt with extra fields

Mary b67d7b1a 4cc8c509

+6 -1
+5
.changeset/loud-berries-brake.md
··· 1 + --- 2 + '@atcute/xrpc-server': patch 3 + --- 4 + 5 + gracefully handle service jwt with extra fields
+1 -1
packages/servers/xrpc-server/lib/auth/jwt.ts
··· 65 65 const raw = decodeUtf8From(fromBase64Url(input)); 66 66 const json = JSON.parse(raw); 67 67 68 - const result = schema.try(json); 68 + const result = schema.try(json, { mode: 'passthrough' }); 69 69 if (result.ok) { 70 70 return result; 71 71 }