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

SourceWhat it gives you
PricingEvery 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, null means unlimited, not zero.
  • On a list, such as social_providers_allowed or allowed_webhook_events, an empty list means unrestricted, not none.

Fixed limits

These do not depend on a plan.

LimitValue
Authorization code lifetime60 seconds, single use
Access token lifetime15 minutes; 5 to 15 minutes when configurable
ID token lifetime1 hour by default; 5 minutes to 1 hour when configurable
Refresh token lifetime30 days by default, renewed on each exchange; 1 to 90 days when configurable
Sign-in lifetime90 days after the user authorized your application, not configurable
Refresh token retry window10 seconds
Allowed origins per application20
PKCE challenge methodS256 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

FieldWhat it controlsWhen you reach it
included_mauHow many different people may sign in to your application in one billing period before usage is charged on topNobody is refused. Sign-ins above the allowance are billed, not blocked.
max_authorized_usersHow many different people may hold an authorization for your application at the same timeA person authorizing for the first time is refused on the consent screen. Everyone who already authorized keeps working.
max_active_grantsHow 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_minuteRequests 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

FieldWhat it controlsWhen you reach it
max_redirect_urisRegistered redirect URIsThe portal refuses one more
max_api_keysLive API keys. Revoked and expired keys do not count, and rotating a key ignores the limit.The portal refuses one more
max_signup_fieldsSign-up questions. 0 means none.The portal refuses one more
max_media_upload_bytesThe largest single image you can upload for your sign-in pageThe upload is refused
analytics_retention_daysHow far back your analytics reachOlder 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.

FieldFeature
magic_link_enabled, email_otp_enabledSign-in by emailed link or code
social_providers_allowedWhich social providers you can configure
custom_signup_fields_enabledSign-up questions
consent_skip_enabledSending users to your application with no consent screen
token_lifetime_configurableChoosing your own token lifetimes
auth_background_animationAn animated background on the hosted sign-in page
custom_browser_brandingYour own favicon and browser-tab title on the sign-in page
branding_badge_removableHiding 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_enabledServing the developer dashboard from your own domain
allowed_webhook_eventsWhich 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.

FieldWhat it controls
max_seatsPeople holding a role on the organization, including the owner and pending invitations
max_applicationsApplications the organization may own. At the limit, only creating another is refused. The applications it already owns are never removed.
max_api_keysLive 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_daysHow far back the organization's analytics and activity reach
shared_social_credentials_enabledApplications inheriting the organization's social provider credentials
shared_branding_enabledApplications inheriting the organization's branding
dashboard_domain_enabledServing the organization's dashboard from its own domain
organization_health_rollup_enabledWebhook and API key health across every application in one place
organization_user_directory_enabledOne 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.

On this page