tessera

Shows a waiting request, so the person can see what they are approving.

GET
/api/v1/auth/device/{user_code}

Errors

401 when not signed in, 403 when an API token was used, 404 when no request is waiting under that code or this instance has no accounts, 429 when this address has tried too many codes that do not exist.

session
cookietessera_session<token>

Set by POST /auth/login. A browser sends it automatically; it is HttpOnly, so page scripts cannot read or set it.

user_code*string

The code the program showed, with or without its dash

Response Body

Waiting for an answer

application/json
  1. response

A request waiting for an answer, as the approval page shows it.

client_name*string

What the program says it is. Its own claim, not checked.

created_at*string

When it was started, RFC 3339.

expires_at*string

When it stops working, RFC 3339.

requested_from*string

The address the request came from.

user_code*string

The code, as it was shown to the person.

curl -X GET 'https://example.com/api/v1/auth/device/string'
{  "client_name": "string",  "created_at": "string",  "expires_at": "string",  "requested_from": "string",  "user_code": "string"}