interledger-pay icon indicating copy to clipboard operation
interledger-pay copied to clipboard

Finish grant interactions through Rhyza

Open linear[bot] opened this issue 3 weeks ago • 0 comments

When a user accepts or rejects a grant request, the wallet sends their browser to Rafiki's finish URL. Grants now live in Rhyza, so the interaction has to be finished through Rhyza's Open Payments auth service instead.

Rhyza already has the endpoint (POST /interaction/{grantId}/finish). It works differently from Rafiki's:

  • It's a POST sent by the user's browser, not a GET redirect.
  • The interaction nonce comes from the auth service's session cookie, not the URL.
  • Rhyza's IdP redirect sends only interactId (plus client name and URI), with no nonce.

Scope

  • After accept/reject, send the finish request to Rhyza from the browser.
  • Do the same for the "no access" page's "Go back" action.
  • Change the grant-interaction page and its API to work without the nonce in the URL.
  • Point the auth host config at Rhyza's Open Payments auth service.

Acceptance criteria

  • Accepting a grant ends with the grant APPROVED and the user back on the client's finish URI with interact_ref and hash.
  • Rejecting a grant ends with the grant REJECTED and the user back on the client.
  • The Boutique checkout and one-click setup flows work end to end against Rhyza.

linear[bot] avatar Nov 10 '26 13:11 linear[bot]