app-server README omits account/login/cancel response

Open 💬 0 comments Opened Jun 1, 2026 by bar-d

What happened?

The app-server README section for account/login/cancel shows the cancel request followed by an account/login/completed notification, but it does not show the JSON-RPC response for the request itself.

The protocol defines a cancel response with a status:

CancelLoginAccountStatus::{Canceled, NotFound}

The app-server implementation returns that status from cancel_login_response, and the v2 account tests cover the cancel response behavior.

Expected behavior

The README example should include the direct account/login/cancel response, for example a result containing status: "canceled" or status: "notFound", in addition to any follow-up notification.

Additional context

I searched open issues and PRs for terms including account/login/cancel, CancelLoginAccountResponse, status, and app-server, and did not find an existing open item that appears to cover this documentation omission.

View original on GitHub ↗