veil

List a card's apps

The apps a card registered for Sign in with Veil, without their secrets.

GET/v1/developer/accounts/{n}/oidc-clients
Access
Signed request
Client
Local or server client

Parameters#

NameLocationMeaning
nRequiredPathThe card that owns the apps: a person, or an organisation through an accepted owner.

Send the common signed-request headers, including X-Nonce and X-Timestamp. A signed GET has no JSON body. Request signing

Request examples#

cURL
curl -fsS \
  -H "X-Public-Key: $PUBLIC_KEY" -H "X-Signature: $REQUEST_SIGNATURE" -H "X-Nonce: $NONCE" -H "X-Timestamp: $TIMESTAMP" \
  "https://veil.rip/v1/developer/accounts/1/oidc-clients"

Response#

HTTP 200application/json

{owner, clients, limit: 20}.

FieldTypeMeaning
ownerintegerThe card.
clientsarray<OidcClient>Its apps.
limitinteger20.

Expand a nested object for its fields. Types ending in null allow a null value; optional fields may be absent. Other fields are present in that object.

App OidcClient
FieldTypeMeaning
idstringclient_id.
namestringThe name the consent page shows.
sitestring | nullThe app's https site.
redirectUrisarray<string>Exact redirect URIs.
postLogoutRedirectUrisarray<string>Where /oidc/logout may send the browser.
typestringpublic or confidential.
authMethodstringnone, client_secret_basic or private_key_jwt.
idTokenAlgstringEdDSA or ES256.
refreshbooleanWhether the app gets refresh tokens.
logostring | nullThe logo's address, with ?v= its hash.
verifiedobject | null{domain}: the owner card proves the domain of the site and of every https redirect URI.
ownerobject | null{n, name, type, url} of the owner card; null for an app registered without a card.
dynamicbooleanRegistered through POST /oidc/register.
createdAtstringISO 8601 UTC.
expiresAtstring | nullA dynamic app's end, 30 days after registration.
lastUsedAtstring | nullLast sign-in or token.
jwksobject | nullThe public keys of a private_key_jwt app.

Response headers#

HeaderValueMeaning
Content-Typeapplication/jsonJSON, also for errors.
Cache-Controlno-storePrivate: never cached.

Errors#

API errors return an error object. Use error.code for program logic; error.message is English text for people and can change. Response and error guide

HTTPCodeMeaning and next step
403identity_banned

The acting identity is suspended by Veil staff.

Wait for the restriction to end or ask staff to review it.

403key_mismatch

The signing key does not have authority over this card or operation.

Use an active device key with the required owner or member role.

404not_found

The requested card, key, alias, code or resource was not found.

Check the identifier. Temporary codes and previews may already have expired or been used.

Shared request errors
HTTPCodeMeaning and next step
400invalid_nonce

The signed-request nonce has an invalid format.

Generate a fresh 16 to 128-character nonce using letters, digits, _ or -.

400invalid_signature_alg

X-Signature-Alg is unsupported.

Use a supported signing algorithm and matching key/signature encoding.

400invalid_timestamp

The signed-request timestamp is not Unix milliseconds.

Use an integer Unix timestamp in milliseconds and sign the corrected request.

401invalid_signature

The HTTP request signature does not verify.

Sign the exact method, path and body bytes, without changing them afterwards.

401missing_signature

The request requires a device signature and its headers are missing or unreadable.

Send X-Public-Key, X-Signature and the signed-request metadata. An API key does not replace a device signature.

401stale_timestamp

The signed timestamp is outside the accepted clock window.

Compare the server Date header with your clock, then generate a fresh nonce, timestamp and signature.

403key_banned

The device signing key is suspended by Veil staff.

Use an authorised active key or ask staff to review the restriction.

409replayed_nonce

The signing key already used this nonce.

Check whether the previous request succeeded before making a fresh signed request.

429rate_limited

An anonymous, signed-request or API-key allowance was exceeded.

Wait at least Retry-After seconds. Share a queue and retry budget across your workers.

500internal_error

An unexpected server error occurred. Internal details are not returned.

Retry reads with bounded backoff. Check write results before sending a new signed operation.

503busy

The application has reached a temporary concurrency or database limit.

Wait Retry-After seconds and retry with bounded backoff.