Reference
Limits
Lifetimes, rate limits, sizes, counts and retention periods in Sovrain.
Every fixed number in Sovrain, by kind. Where an admin or the operator can change one, the row says so. Settings an
admin can change are on Organization settings and
Application settings.
KB, MB and GB here mean KiB (1024 bytes), MiB and GiB.
Sessions and links
| Item | Lifetime |
|---|
| Sovrain session | 60 days from sign-in. No idle timeout. |
| Fresh sign-in for sensitive changes | 5 minutes. A form opened within them can be sent up to 30 minutes later. |
| Second step after the password | 5 minutes |
| Password reset link sent by the person | 15, 30 or 60 minutes, as set under Account recovery (default 30) |
| Link to reset two-step sign-in by email | Same as the password reset link |
| Password reset link created by an admin | 24 hours |
| Second step proven during a reset | 10 minutes |
| Invitation link | 7 days |
| Email verification link and code | 7 days |
| Code to resume paused emails | 24 hours; lifts the pause for 24 hours |
| Backup import key | 24 hours |
Tokens
| Token | Lifetime |
|---|
| OpenID Connect authorization code | 60 seconds, single use |
| ID token | 5 minutes |
| Access token | 1 hour |
| Access token of a delegated sign-in | 5 minutes |
| Refresh token | Until the Sovrain session ends (at most 60 days); single use |
| Logout token | 2 minutes |
| SAML assertion | Valid from 30 seconds before to 5 minutes after it is issued |
| SAML request clock skew | ±5 minutes |
| Admin API device code | 10 minutes; poll every 5 seconds |
| Admin API access token | 10 minutes |
| Admin API grant | 30 days after the last refresh; at most 90 days after approval |
Rate limits
Counted per client IP address unless noted. Each budget refills in full at the end of its period. Over a limit,
pages show Too many attempts and programs get 429.
| What | Limit |
|---|
| Sign-in, password change, account deletion | 20 per 15 minutes; sign-in also per typed login name or email |
| Second step at sign-in and during a reset | 60 per 15 minutes |
| Second step, per pending sign-in | 5 per 5 minutes |
| Wrong second steps, per account | 10 per hour |
| Adding a second step | 60 per hour |
| Password reset request | 5 per 15 minutes; also per typed login name or email |
| Setting a new password from a reset link | 20 per 15 minutes |
| Registration and accepting an invitation | 10 per hour |
| Organization address check during registration | 120 per 15 minutes |
| Email verification code, resume code | 10 per hour each |
| Invitation emails | 200 per hour; per IP address in the admin pages, per admin in the Admin API |
| Re-entering the password for a backup | 5 wrong per 15 minutes |
| Export | 1 per organization per 60 seconds |
| Import | 1 per organization per 5 minutes |
| OpenID Connect authorization | 300 per minute |
| OpenID Connect token | 300 per minute |
| OpenID Connect userinfo | 600 per minute |
| OpenID Connect sign-out | 120 per minute |
| Device authorization | 20 per minute |
| Token revocation | 30 per minute |
| Device code entry | 10 per 5 minutes |
| SAML single sign-on and logout | 300 per minute |
| Admin API | 600 per minute, per grant |
| Delegation account choice | 120 per minute |
| Delegation second step | 60 per 15 minutes |
| Delegation people search | 120 per minute, per person |
| Creating or changing delegations | 30 per 5 minutes per person; 300 per 5 minutes per admin |
There is no account lockout after wrong passwords; only these limits apply.
Emails
| Item | Limit |
|---|
| Verification and password reset emails to one address | 5 per hour. The sixth request sends one We’ve paused emails to your address notice per hour; further emails are dropped. |
| Delegation emails to one address | 30 per hour |
| Sign-in-as-you alerts to a delegation owner | 30 per hour; then one notice |
Accounts, groups and attributes
| Item | Limit |
|---|
| Users and groups per organization | No limit |
| Login name | 3 to 32 characters from a-z 0-9 . _ - (stored in lower case); people invited by email have their address, up to 254 characters, as typed |
| Email address | 3 to 254 characters |
| Password | At least 8 characters, at most 72 bytes (longer is refused, not cut). No other rules. |
| Display name, first name, last name | No limit |
| Custom attribute name | At most 64 characters |
| Custom attribute description | At most 256 characters |
| Custom attribute value | No limit |
| Invitation batch | 100 entries, each at most 254 characters |
| Pasted invitation list | 1 MB, lines of at most 64 KB; upload at most 1 MB |
| Bulk group change | 2000 groups × 500 users |
| Members changed at once | 10,000 |
| Pasted member list | 1000 entries, 200,000 characters |
| Undo of a membership change | Up to 500 people |
| Authenticator apps per account | 5 |
| Security keys and passkeys per account | 10 together |
| Backup codes | 10 per set |
Applications
| Item | Limit |
|---|
| Applications per organization | No limit |
| Application slug | 2 to 63 characters from a-z 0-9 - |
| Redirect URIs, post-logout redirect URIs | No limit on number or length |
| Custom claim name | At most 64 characters |
| Back-channel logout calls per sign-out | 20 applications; one attempt each; 3 seconds to connect, 5 seconds in total |
| Front-channel logout frames per sign-out | 20 |
| SAML request | 64 KB encoded, 128 KB inflated; POST body 256 KB |
| SAML XML | 64 levels, 100,000 elements, 128 attributes per element |
| SAML Default RelayState | 80 bytes |
SAML RequestedAuthnContext | 16 references |
| SP metadata document | 2 MB; URL fetch 10 seconds |
| SCIM token | 8192 characters |
| SCIM request | 10 seconds; response at most 4 MB |
| SCIM mappings | 200 |
| SCIM scope | 5000 groups and 5000 users |
| SCIM group name in the application | 255 characters |
| SCIM reconciliation | 50,000 entries, 45 seconds |
Organization
| Item | Limit |
|---|
| Organization address (slug) | 2 to 63 characters from a-z 0-9 -; 148 reserved words |
| Custom domains | 1 |
| Brand icon | 128 KB, PNG or SVG |
| Application name, title prefix | 40 characters |
| Form body | 64 KB, except uploads |
| Backup file to import | 50 MB |
| Password manager storage | 1 GB per organization (default; operator setting IDP_VAULT_BLOBS_ORG_QUOTA) |
| Password manager attachment | 8 MB, checked in the browser; the operator setting IDP_VAULT_BLOBS_BLOB_LIMIT can lower the limit the server accepts, but not raise this one |
| Password manager entry | 256 KB; 16 KB of search index |
Retention
| Data | Kept |
|---|
| Application activity (sign-in events per application) | 90 days |
| SCIM jobs | 30 days |
| Ended OpenID Connect and SAML sessions | 30 days |
| Admin API call records | 1 day |
| Delegation events | Kept; the IP address is cleared after 90 days |
| Security events, mail log, backup history | Not deleted by age |
| Removed users (admin Remove) | Kept in the database and in exports |