Repository navigation
Conversation
merge dev to main
auth: add optional AT Protocol service authentication
|
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Advanced Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Advanced Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (27)
Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review. 📝 WalkthroughWalkthroughThe feed service adds optional AT Protocol service authentication. Authenticated requests use the verified issuer as the viewer and consume bounded, process-local replay entries. The app also publishes a configured ChangesService Authentication and Feed Requests
Priority: ➖ Normal Estimated code review effort: 4 (Complex) | ~45 minutes Change: Feature Sequence Diagram(s)sequenceDiagram
participant Client
participant FeedApp
participant OptionalServiceAuth
participant ServiceAuthVerifier
participant ReplayProtector
participant FeedProcedure
participant FeedService
Client->>FeedApp: POST feed request with optional bearer token
FeedApp->>OptionalServiceAuth: Authenticate request
OptionalServiceAuth->>ServiceAuthVerifier: Verify token claims and signature
ServiceAuthVerifier-->>OptionalServiceAuth: Return verified credentials
OptionalServiceAuth->>ReplayProtector: Consume issuer DID and jti
ReplayProtector-->>OptionalServiceAuth: Accept token or report replay
OptionalServiceAuth-->>FeedApp: Return credentials or authentication error
FeedApp->>FeedProcedure: Forward input and credentials
FeedProcedure->>FeedProcedure: Apply authenticated viewer rules
FeedProcedure->>FeedService: Execute feed request
FeedService-->>FeedProcedure: Return feed result
FeedProcedure-->>Client: Return parsed response
Merge Risk: ⚪ Minimal · up to The feed service now accepts optional AT Protocol service authentication. For authenticated requests, the verified caller becomes the viewer, and each token can be used only once per running process. The service also publishes a 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
|
auth: align Node minimum with service-auth dependency
|
@greptileai review |
|


Summary by CodeRabbit
did:webservice identifiers.