Plans and limits
The fixed limits of onefold, the limits and features that depend on your plan, what happens when you reach each one, and where to read the current values.
onefold has two kinds of limit. Fixed limits are the same for every application and are stated here as numbers. Plan-dependent limits vary by plan and can change, so this page says what each one controls and where to read its current value.
Where the current values are
| Source | What it gives you |
|---|---|
| Pricing | Every plan, its price and its allowances |
GET /api/v1/plans/ | The same catalogue as JSON. It needs no credential and is the authoritative public source. |
GET /api/v1/manage/entitlements/ | The values in force for your application, which can differ from its plan's published ones. Needs an API key with the entitlements:read scope. |
GET /api/v1/manage/usage/ | Your usage against those values. Needs the analytics:read scope. |
curl "https://onefold.eitozx.com/api/v1/plans/"
curl "https://onefold.eitozx.com/api/v1/manage/entitlements/" \
-H "Authorization: Bearer YOUR_API_KEY"The application's Billing tab in the developer portal shows the same values and usage.
Reading the values
- On a numeric limit,
nullmeans unlimited, not zero. - On a list, such as
social_providers_allowedorallowed_webhook_events, an empty list means unrestricted, not none.
Fixed limits
These do not depend on a plan.
| Limit | Value |
|---|---|
| Authorization code lifetime | 60 seconds, single use |
| Access token lifetime | 15 minutes; 5 to 15 minutes when configurable |
| ID token lifetime | 1 hour by default; 5 minutes to 1 hour when configurable |
| Refresh token lifetime | 30 days by default, renewed on each exchange; 1 to 90 days when configurable |
| Sign-in lifetime | 90 days after the user authorized your application, not configurable |
| Refresh token retry window | 10 seconds |
| Allowed origins per application | 20 |
| PKCE challenge method | S256 only |
Webhook delivery limits are on Webhooks, and user metadata limits are on User metadata.
Plan-dependent limits
The field names are the keys of the features object in the two API responses above.
Usage
| Field | What it controls | When you reach it |
|---|---|---|
included_mau | How many different people may sign in to your application in one billing period before usage is charged on top | Nobody is refused. Sign-ins above the allowance are billed, not blocked. |
max_authorized_users | How many different people may hold an authorization for your application at the same time | A person authorizing for the first time is refused on the consent screen. Everyone who already authorized keeps working. |
max_active_grants | How many sign-ins one person may hold with your application at once. Each browser or device is one. | The person's least recently used sign-in is ended to make room. Nothing is refused. |
api_rate_limit_per_minute | Requests per minute. One budget shared by /api/v1/userinfo/, the management API and successful token exchanges. | 429 with the code rate_limited. See Rate limits. |
included_mau and max_authorized_users measure different things. The first counts who
signed in during the current billing period and is what a bill is measured against. The second
is a ceiling on how many people hold access.
Configuration
| Field | What it controls | When you reach it |
|---|---|---|
max_redirect_uris | Registered redirect URIs | The portal refuses one more |
max_api_keys | Live API keys. Revoked and expired keys do not count, and rotating a key ignores the limit. | The portal refuses one more |
max_signup_fields | Sign-up questions. 0 means none. | The portal refuses one more |
max_media_upload_bytes | The largest single image you can upload for your sign-in page | The upload is refused |
analytics_retention_days | How far back your analytics reach | Older data is not shown. Nothing is deleted; a higher value brings it back. |
Features
A feature your plan does not include stays visible in the portal, marked as an upgrade, and cannot be switched on.
| Field | Feature |
|---|---|
magic_link_enabled, email_otp_enabled | Sign-in by emailed link or code |
social_providers_allowed | Which social providers you can configure |
custom_signup_fields_enabled | Sign-up questions |
consent_skip_enabled | Sending users to your application with no consent screen |
token_lifetime_configurable | Choosing your own token lifetimes |
auth_background_animation | An animated background on the hosted sign-in page |
custom_browser_branding | Your own favicon and browser-tab title on the sign-in page |
branding_badge_removable | Hiding the "Account by onefold" line on the sign-in page. Only the Whitelabel plan has it, listed on Pricing and arranged on request. |
dashboard_domain_enabled | Serving the developer dashboard from your own domain |
allowed_webhook_events | Which webhook events you can subscribe to. Every plan allows all of them. |
Passkeys, multi-factor authentication, the sign-in page's layout and colours, and a custom sign-in domain are part of every plan.
A limit that changes never removes access
When an allowance shrinks, because of a downgrade or a changed plan, onefold stops granting new things. It does not take back what was already issued: people who authorized your application keep their access.
Organization plans
An organization has its own plan, separate from the plans
of its applications. GET /api/v1/plans/ lists these under organization_plans.
| Field | What it controls |
|---|---|
max_seats | People holding a role on the organization, including the owner and pending invitations |
max_applications | Applications the organization may own. At the limit, only creating another is refused. The applications it already owns are never removed. |
max_api_keys | Live organization API keys. Revoked and expired keys do not count. The keys of the organization's applications count toward each application's own plan. |
analytics_retention_days, activity_retention_days | How far back the organization's analytics and activity reach |
shared_social_credentials_enabled | Applications inheriting the organization's social provider credentials |
shared_branding_enabled | Applications inheriting the organization's branding |
dashboard_domain_enabled | Serving the organization's dashboard from its own domain |
organization_health_rollup_enabled | Webhook and API key health across every application in one place |
organization_user_directory_enabled | One combined list of the people who authorized the organization's applications |
An organization's plan never switches on an application feature, and an application's plan never switches on an organization feature.
Organizations and roles
How a onefold organization lets several developers own and manage applications together, how roles and permissions decide what each member may do, and what an organization does not do.
Authorization request and callback
The parameters of the onefold authorization request, the PKCE and redirect URI rules, and what your callback receives, including the iss parameter.