Skip to content

Added route to use site domain as Bluesky handle - #472

Open
sagzy wants to merge 1 commit into
next-dockerfrom
bluesky-atproto-did-route-next-docker
Open

sagzy wants to merge 1 commit into
next-dockerfrom
bluesky-atproto-did-route-next-docker

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 would never be offered its domain
as a handle.

The path now goes to the site's ActivityPub upstream like the other
.well-known paths the service owns, whether that is the site's own
service or the hosted one. This is harmless until the service supports
it: the request gets a 404 from the service instead of from Ghost.

The same change for the released layout is in
#471

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 would never be offered its domain
as a handle.

The path now goes to the site's ActivityPub upstream like the other
.well-known paths the service owns, whether that is the site's own
service or the hosted one. This is harmless until the service supports
it: the request gets a 404 from the service instead of from Ghost.

The same change for the released layout is in
#471
@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 now proxies requests for /.well-known/atproto-did to the upstream specified by {args[0]}.

Estimated code review effort: 1 (Trivial) | ~4 minutes

Change: Feature

Possibly related PRs

Merge Risk: Minimal · up to b35f4

This change routes the Bluesky handle verification path to the ActivityPub service, which will answer it once it supports the path. Until then the request returns a 404, as it did before. The change is small and easy to revert, and no merge-blocking risk was found.

Pre-merge checks: Passed 4

Check name Status Explanation
Description check Passed The description states the purpose of the change. It explains that Bluesky verifies a domain handle through /.well-known/atproto-did, that Caddy previously sent this path to Ghost (which returned a 40…
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.
Title check Passed The title "Added route to use site domain as Bluesky handle" matches the main change. The raw summary and objectives show a Caddy ActivityPub snippet that now proxies /.well-known/atproto-did to the A…
Full details: Description check

Explanation

The description states the purpose of the change. It explains that Bluesky verifies a domain handle through /.well-known/atproto-did, that Caddy previously sent this path to Ghost (which returned a 404), and that the path now goes to the site's ActivityPub upstream. It also links the related issue, PR, and ghost-docker PR. This matches the changeset.

Full details: Title check

Explanation

The title "Added route to use site domain as Bluesky handle" matches the main change. The raw summary and objectives show a Caddy ActivityPub snippet that now proxies /.well-known/atproto-did to the ActivityPub upstream, which lets a site's domain serve as its Bluesky handle. The title names the purpose and the mechanism at a suitable level of detail. It does not name the specific path, but that detail is not required.

  • 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: 8706a8a9-b7ca-4237-bf7d-243edd7e4d11
Commits

Reviewing files that changed from the base of the PR and between f7899f1 and b35f477.

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; 0 remain after this review.

@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:14:33.641828Z b35f477 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.

@sagzy sagzy changed the title 🎨 Added the route that lets a site's domain be its Bluesky handle Added route to use site domain as Bluesky handle Nov 27, 2026

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