Skip to main content
PATCH
Approve a sign-in session

Authorizations

Authorization
string
header
required

Obtain a token via the CLI auth flow (POST /v1/auth/sessions) or GitHub OAuth

Path Parameters

session_id
string
required

UUIDv7 of the login session.

Body

application/json

PATCH /v1/auth/sessions/{session_id}/approve — a person clicked Approve.

ciphertext
string
required

The sealed credential. Relayed; this daemon never opens it.

dashboard_public_key
string
required

The dashboard's public key, for the client's key agreement.

nonce
string
required

The nonce it was sealed under.

verification_code
string
required

The six digits shown to the person, whose digest is what gets stored.

Response

OK

What approving answers with.

request_id
string
required

The request that recorded the approval.