Skip to content

interaction_endpoint is the person-facing page, not the agent's reach API - #14

Merged
dickhardt merged 1 commit into
mainfrom
fix/interaction-endpoint-is-the-page
Sep 9, 2026
Merged

dickhardt merged 1 commit into
mainfrom
fix/interaction-endpoint-is-the-page

Conversation

@dickhardt

Copy link
Copy Markdown
Member

The field carried both roles while a 202 also sent url=. It no longer does — a recipient composes {interaction_endpoint}?code= and sends the person there. mockin still published POST /aauth/interaction, the agent's reach API, so an agent composing a person URL from PS metadata lands on a 404 for a POST-only route.

Caught by the MCP e2e suite in aauth-proxy: the agent got the connection 202, composed https://person.hello-dev.net/aauth/interaction?code=…, and the browser got Route GET:/aauth/interaction not found.

This was logged as an open ambiguity in session 2 (aauth-mcp/OVERNIGHT-LOG.md, Track N, item N7) — "the PS's interaction_endpoint is today the relay POST target, and W2b makes it the user-facing page too — the same field in two roles ... only exercised once a PS stops sending url=". Wallet resolved it in #4269 by publishing ${PERSON}/auth. mockin never did.

interaction_endpoint is now ${ISSUER}/aauth/consent; the reach API moves to its own reach_endpoint.

241 passing.

🤖 Generated with Claude Code

https://claude.ai/code/session_01CRdau7tgZa1tPVzUdyNrHc

… API

The field carried both roles while a 202 also sent `url=`. It no longer
does: a recipient composes `{interaction_endpoint}?code=` and sends the
PERSON there. mockin still published `POST /aauth/interaction` — the agent's
reach API — so an agent that composed a person URL from PS metadata landed on
a 404 for a POST-only route.

Publish `${ISSUER}/aauth/consent` there, matching Wallet's `${PERSON}/auth`,
and move the reach API to its own `reach_endpoint`.

Logged as an ambiguity in session 2 (aauth-mcp OVERNIGHT-LOG.md, Track N,
N7) and only reachable once a PS stopped sending `url=`.

241 passing.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CRdau7tgZa1tPVzUdyNrHc
@dickhardt
dickhardt merged commit 06bb4e7 into main Sep 9, 2026
2 checks passed
@dickhardt
dickhardt deleted the fix/interaction-endpoint-is-the-page branch September 9, 2026 15:52
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