Skip to content

Added the Bluesky handle route to the ActivityPub Caddy snippet - #471

Open
sagzy wants to merge 1 commit into
mainfrom
bluesky-atproto-did-route
Open

sagzy wants to merge 1 commit into
mainfrom
bluesky-atproto-did-route

Conversation

@sagzy

@sagzy sagzy commented Nov 25, 2026

Copy link
Copy Markdown

ref TryGhost/ActivityPub#1209
ref TryGhost/ActivityPub#2318

The ActivityPub service is gaining the ability to use a site's domain as its Bluesky handle. Bluesky verifies such a handle by requesting /.well-known/atproto-did on the domain, and the service answers with the DID of the site's bridged account. Caddy sent that path to Ghost, which answers with a 404, so a site running this setup would never be offered its domain as a handle.

The path now goes to the ActivityPub service like the other .well-known paths it owns. This is harmless until the service supports it: the request gets a 404 from the service instead of from Ghost.

ref TryGhost/ActivityPub#1209
ref TryGhost/ActivityPub#2318

The ActivityPub service is gaining the ability to use a site's domain as its Bluesky handle. Bluesky verifies such a handle by requesting `/.well-known/atproto-did` on the domain, and the service answers with the DID of the site's bridged account. Caddy sent that path to Ghost, which answers with a 404, so a site running this setup would never be offered its domain as a handle.

The path now goes to the ActivityPub service like the other `.well-known` paths it owns. This is harmless until the service supports it: the request gets a 404 from the service instead of from Ghost.
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 25, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-25T18:04:50.631873Z 2c69e15 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@coderabbitai

coderabbitai Bot commented Nov 25, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The ActivityPub Caddy snippet adds a handler that proxies requests for /.well-known/atproto-did to {$ACTIVITYPUB_TARGET}.

Estimated code review effort: 2 (Simple) | ~5 minutes

Change: Feature

Merge Risk: Minimal · up to 2c69e

This adds routing for the AT Protocol DID well-known path to the ActivityPub service, matching the existing ActivityPub routes. Until the service supports it, requests return a 404, as they did before. The merge risk is minimal.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title names the change: a Bluesky handle route added to the ActivityPub Caddy snippet. The raw summary confirms the snippet now proxies /.well-known/atproto-did to the ActivityPub target, so the t…
Description check Passed The description explains that the ActivityPub service will let a site's domain serve as its Bluesky handle. Bluesky checks /.well-known/atproto-did, and Caddy previously sent that path to Ghost, which…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title names the change: a Bluesky handle route added to the ActivityPub Caddy snippet. The raw summary confirms the snippet now proxies /.well-known/atproto-did to the ActivityPub target, so the title matches the main change.

Full details: Description check

Explanation

The description explains that the ActivityPub service will let a site's domain serve as its Bluesky handle. Bluesky checks /.well-known/atproto-did, and Caddy previously sent that path to Ghost, which returned a 404. The description states that the path now goes to the ActivityPub service, which matches the snippet change.

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Repository UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 9bb51f58-5623-497f-aaff-c43754880fa3
Commits

Reviewing files that changed from the base of the PR and between acfdf12 and 2c69e15.

Files selected for processing: 1

  • caddy/snippets/ActivityPub

Included review availability: This review used your included allowance. Your plan provides up to 2 included reviews per hour; 1 remain after this review.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant