Skip to content

feat(spore): add WebFinger endpoint to Pocket ID nginx vhost - #431

Merged
stackptr merged 3 commits into
mainfrom
feat/spore-pocket-id-webfinger
Apr 10, 2026
Merged

stackptr merged 3 commits into
mainfrom
feat/spore-pocket-id-webfinger

Conversation

@stackptr

@stackptr stackptr commented Apr 9, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • Replaces the defunct Mastodon redirect at zx.dev/.well-known/webfinger with a direct OIDC issuer response
  • Tailscale resolves WebFinger from the email domain (zx.dev), not the issuer host — this is the only change needed to support Tailscale custom OIDC with Pocket ID at id.zx.dev

Test plan

  • Deploy to spore: nixos-rebuild switch --flake .#spore --target-host root@spore --build-host localhost
  • Verify: curl --globoff 'https://zx.dev/.well-known/webfinger?resource=acct:corey@zx.dev' returns JSON with https://id.zx.dev as the issuer href
  • Confirm Tailscale custom OIDC login flow completes

🤖 Generated with Claude Code

stackptr and others added 3 commits April 9, 2026 15:21
Serves a dynamic WebFinger response at id.zx.dev/.well-known/webfinger,
echoing back the resource param as subject and returning the Pocket ID
issuer URL. Required for Tailscale custom OIDC integration.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…pub.zx.dev

Tailscale resolves WebFinger from the email domain (zx.dev), not the
issuer host. Replace the defunct Mastodon redirect with a direct OIDC
issuer response.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Tailscale resolves WebFinger at the email domain (zx.dev), not the
issuer host (id.zx.dev), so the endpoint there is never used.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@stackptr
stackptr enabled auto-merge (squash) April 10, 2026 17:57
@stackptr
stackptr merged commit ee3ebdf into main Apr 10, 2026
4 checks passed
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