Authentication

Redeem a one-time cross-host sign-in code

Browser-only: called by the /auth/handoff page on the target host to exchange the code from the URL fragment for a session, exactly like GET /api/auth/verify does for a magic link. The code must match the Host this request arrived on. Not an agent tool.

post/api/auth/handoff/redeem

Request

  • Base URL: https://domani.run
  • URL: https://domani.run/api/auth/handoff/redeem
  • Auth: none required

Request body

codestring required

Response

Signed in - sets the short-lived session cookie GET /api/auth/session reads

okboolean
nextstring

Changes

No recorded changes to this operation across all 2 revisions of this API.