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

    Limits & Lifetimes

    One table to check against

    Every limit the auth plane enforces. Where something is configurable, the default and the place to change it are named — several of these defaults are conservative enough to look like bugs if you do not know they are there.

    Lifetimes

    WhatDefaultConfigurable
    Session (access) token90 secondsOnly via a JWT template, 30 s – 24 h
    Session maximum lifetime7 daysProject Settings → Auth → Sessions
    Inactivity timeout30 minutesSame
    One-time code (email or SMS)10 minutesNo
    Second-factor challenge5 minutesNo
    JWKS cache (client side)10 minutesjwksCacheMs

    The 90-second token is the one worth understanding: it is exactly how long a revoked session can still pass offline verification. Lengthening it via a template widens that window proportionally.

    Rate limits

    BucketEndpointsLimitKeyed by
    Beginauth-sign-up5 / 10 sIP
    Attemptauth-attempt3 / 10 sIdentifier
    Prepareauth-prepare3 / 10 sIdentifier
    Refreshauth-token30 / 60 sSession

    Limits are durable across isolates rather than per-instance, so they cannot be evaded by landing on a different worker. The attempt bucket is keyed by identifier rather than IP on purpose — that is the shape that actually resists credential stuffing, which arrives from many addresses at one account.

    Lockout

    Ten consecutive failed attempts lock an account for fifteen minutes. A locked account returns the same opaque 401 as a wrong password, so neither your client nor an attacker can see the lock. A successful sign-in clears the counter.

    Caps and ceilings

    WhatLimitOn exceeding
    ent claim64 entitlementsent_truncated: true. Never silent — fall back to introspect
    Request body on /v1/auth-*64 KB413 at the edge, before a function runs
    SCIM page size200Page with startIndex and count
    Import reset emails per call200 (default 50)Page deliberately
    Backup codes per enrolment10Regenerate — the old set stops working
    Password length8–72 by defaultConfigurable per project

    Two defaults that look like outages

    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.