Launch offer for the first 500 accounts: $10K MTR free for 24 months + $100 credit →
    .io

    Security & Compliance

    The properties, stated as promises

    This page is what you can tell your own security reviewer. Each item is a behaviour of the running system, not an aspiration — several of them explain responses that otherwise look unhelpful, which is the point of writing them down.

    Account enumeration

    Every credential failure is the same 401 with the same message: wrong password, unknown user, unverified identifier, banned account, locked account, expired code. Sign-up answers identically whether or not the address was already registered, and requestCode answers { sent: true } for an address that does not exist.

    Timing is equalised too — a failure path that returned faster than a success would leak exactly what the equal messages hide.

    Rate limits and lockout

    BucketLimitKeyed by
    Starting a sign-in or sign-up5 / 10 sIP
    Submitting a factor3 / 10 sIdentifier — the one that matters for credential stuffing
    Sending a code3 / 10 sIdentifier. Also bounds outbound spend
    Token refresh30 / 60 sSession

    Limits are durable across isolates rather than per-instance, so they cannot be evaded by landing on a different worker. Ten consecutive failed attempts lock an account for fifteen minutes, and the lock is invisible in the response for the same enumeration reason.

    Sessions

    • Refresh tokens rotate on every use, and presenting one that has already been rotated away kills the entire session family and publishes a revocation. The legitimate user is signed out too — at that point we cannot tell which holder is real, and that is the safe reading.
    • Every refresh failure is one opaque 401. Expired, revoked, reused, inactive, wrong environment and wrong project are indistinguishable.
    • Access tokens live 90 seconds, which bounds how long a revoked session can still pass offline verification.
    • Signing keys are environment-scoped. A sandbox token cannot verify against production keys — enforced at the key level, not trusted from a claim.
    • Session listings coarsen the IP, dropping the final octet or hextet: recognisable device, not a location.

    Credentials at rest

    • Argon2id, with a server-side pepper held outside the database — a database dump alone cannot be attacked offline.
    • Each hash records its pepper version, so rotation is a rolling rehash rather than a mass lockout.
    • Breach checking is k-anonymous: five characters of a hash prefix leave our servers, never the password and never its full hash.
    • TOTP secrets and backup codes are stored hashed. Backup codes are shown once.
    • SCIM tokens are stored hashed and shown once.
    • OIDC client secrets are write-only — settable and replaceable, readable by nobody.

    At the edge

    Requests to /v1/auth-* above 64 KB are refused at the edge on Content-Length, before they reach a function. Without that, a large unauthenticated body could be buffered for minutes — cheap for the sender, expensive for us, and repeatable.

    Enterprise sign-in

    • SAML assertions must carry exactly one signature, and the signature must cover the assertion actually read — the defence against signature wrapping.
    • Assertion IDs are recorded; replay is refused.
    • An IdP is authoritative only for the one verified domain routed to it. Subdomains are refused.
    • OIDC callbacks require a nonce, because issuer and audience alone do not distinguish two sign-ins within one IdP client.
    • OAuth redirect URIs are checked against verified domains before a flow starts.
    • SCIM refuses any token that is not a SCIM key bound to a connection, however privileged that token is elsewhere.

    Data residency

    Erasure and data-subject requests

    A completed erasure removes the auth subtree — password hash, TOTP secret, backup codes, passkeys, sessions and identifiers — in both environments, because a data subject is one person and their sandbox identity is as much their personal data as the production one. Export discloses that credentials were held.

    Your side of the line

    • Verify tokens on your server. A client that says it is signed in is a claim, not proof.
    • Never store the session token where a script can read it. The SDKs keep it in memory for this reason.
    • Set environment explicitly when verifying.
    • Check ent_truncated before treating an entitlement list as complete.
    • Serve hosted sign-in on your own verified domain, so the refresh cookie is first-party and unreachable from JavaScript.
    • Turn the breach check on and leave it on. It is the single strongest predictor of takeover, and it costs one k-anonymous range request.

    Was this page helpful?

    Or rate this page:

    We use cookies and process your data to provide our services. By continuing, you agree to our Terms and Privacy Policy.