Send my approval login
/titan/user/approvals/{id}:send-loginSend the login the caller's phone sealed to the seal request's key (core/pkg/websecret, AAD bound to the approval and origin) with its proof: a compact JWS from one of the caller's trusted phones (past its 24 hour waiting period), header exactly {alg: ES256, kid: the phone's device_id, typ: titan-device-login+jwt}, over {aud: urn:titan:person-devices:<enforcement deployment>, sub: the caller, approval_id, origin, key_id, sealed_sha256, iat, exp}, sealed_sha256 being "sha256:" + hex SHA-256 of the sealed object's RFC 8785 canonical JSON, exp - iat at most 120 s, low-S. Without a proof, 403 DEVICE_SIGNATURE_REQUIRED; one that does not verify for exactly this approval, origin and sealed object (another person's, a waiting or revoked phone, a re-sealed object, a stale proof), 403 DEVICE_SIGNATURE_INVALID, and nothing reaches the browser executor, which checks the binding again (the key id too) and fills one login per request: LOGIN_ALREADY_SENT (409) after it, SEAL_REQUEST_EXPIRED (409) once it ended. state is filled, or refused with the browser executor's code (for example sealed_invalid); TAKEOVER_ACTIVE (409) while the caller has taken over the session's browser (send it again after hand-back); the agent reads the login's result from its execution. NOT_FOUND unless the phone vault is on; SEAL_REQUEST_NOT_FOUND (404) unless the approval is the caller's, approved, unexpired, and its web.login.fill waits for the phone in the browser executor; SECRET_SOURCE_NOT_ALLOWED (403) when the organization's web_login_secret_sources leaves phone out, SERVICE_UNAVAILABLE (503) when that setting can't be read. RATE_LIMITED (429, with Retry-After in seconds) past the route's per-person or per-approval bound per minute (PHONE_VAULT_*_PER_MINUTE), before anything reaches the browser executor. Authorized by the user access token of the person the requesting session acts for (their user-route token); NOT_FOUND unless person approvals is on.
Path parameters
Headers
Bearer <token>. The person's user-route token: a user access token from the deployment's identity provider for an audience only the person routes accept, carrying their use claim. The Gateway verifies it; the edge does not. A session's token is refused here, and a user-route token is refused as a session's. Served only while the deployment turns the person routes on; NOT_FOUND otherwise.
Body parameters
Returns
200Successful response; exact status varies by operation.object
Errors
- defaultRejected request.