Partner API

Security

Everything below is what the Orobo platform does. What you do with the
credentials is on you. Treat the partner API like any other production
production-grade integration: secrets in a vault, IPs locked down, token TTLs
respected, audit log monitored.

At rest

  • Client secrets are bcrypt-hashed with cost factor 12 (Doorkeeper's default). The plaintext is shown once, at creation/rotation time, and never retrievable thereafter.
  • Webhook signing secrets are stored using Active Record Encryption with deterministic + non-deterministic keys, so encrypted-at-rest and searchable on the prefix.
  • Compliance documents go to S3 (or compatible) under server-side encryption.

In transit

  • TLS 1.2+. Everything below 1.2 is rejected at the edge.
  • HSTS preload is enabled.
  • mTLS is on the roadmap; not available today.

Auth posture

  • OAuth2 client_credentials only. No password grants, no implicit flow, no refresh tokens (just re-mint).
  • Tokens carry only the scopes you ask for — request the minimum.
  • Token TTL: 15 minutes (expires_in: 900). Mint a new token when it expires; reuse a valid token rather than requesting one per call. Not configurable.
  • Each application supports an arbitrary number of active secrets to enable zero-downtime rotation. Revoke aggressively.
  • IP allowlist is per-application and CIDR-aware (IPv4 + IPv6).

Audit log

api_audit_logs records one row per authenticated request: HTTP method, path,
status, latency in ms, scope, request id, OAuth application, organisation, IP,
user agent, redacted params summary. Ten retention is per the contract; talk
to your CSM if you want export.

We strip Authorization, Cookie, and X-Api-Key from the persisted summary
before anything is written. Request bodies are kept so we can investigate a
failed call with you. If a body would contain data you would not put in a
support ticket, leave it out of the request or ask us to agree a redaction
rule for your application.

CORS

Out-of-the-box the partner API does not allow browser cross-origin calls.
There is no path that benefits from it. The anonymous /api/v2/public/*
surface returns Access-Control-Allow-Origin: * so QR-code-driven SPAs work
without server proxies.

Reporting issues

Security disclosures: security@orobo.tech (PGP key on the website). Please
don't open public GitHub issues for vulnerabilities.