Reference
License
The trial, the license, the days after it ends, the lock, the user limit, the banners and the daily check of a Sovrain server you run yourself.
How Sovrain licenses an organization on a server you run yourself. Prices are on releases.sovrain.app/licenses. Steps: Activate a license.
States
The License page in the admin area shows the state at the top.
| State | When | The License page shows |
|---|---|---|
| Trial | The first 30 days | Trial, the days left, and trial started and trial ends under This organization |
| Active | A license is valid | The number of users and Licensed until with the end date |
| Expired | The license has ended, within the days after it (14 by default) | Expired on with the date, and the days left to renew the license |
| Locked | The trial ended without a license, the days after the license are over, the license was revoked, or the clock moved back | Locked and the reason, such as Trial ended with the date |
Trial
| Item | Value |
|---|---|
| Length | 30 days |
| Starts | The first time Sovrain sees the organization, right after it is created |
| Again | Never: a trial starts once per organization, also after its license changes |
| A license pasted during the trial | Starts when the trial ends; the trial keeps its days |
| After the trial without a license | Locked at once; a trial has no days after it |
| User limit | None, until a license is pasted |
License
| Item | Value |
|---|---|
| Form | A line of text that starts with svl_, generated at releases.sovrain.app |
| Check | On your server, against keys built into Sovrain: issued by releases.sovrain.app, not expired, activated by its last activation date if it has one |
| Covers | One organization, a number of users, a length |
| Starts | When the trial ends, if pasted during the trial. Within 14 days after the previous license ended: on that end date. Later: on the day it is pasted. |
| Next license | Pasted while a license is valid, with Start when the current license ends: it waits and takes over on the end date. Replace the current license now: it applies from today, with its full length. |
| Days after it ends | 14, unless the license sets another number |
User limit
| Item | Value |
|---|---|
| Counted | Every account that has not been deleted, suspended ones included |
| Refused beyond the limit | Invitations, from the admin area and from the Admin API, and imports of an organization with more users |
| Message | Your license covers and the number of users |
Lock
| Who | What they get |
|---|---|
| People who open a page | This Sovrain needs a license (or This Sovrain is locked when the clock moved back), the reason, and Nothing was deleted. HTTP status 503. |
| Members who were signed in | Signed out at their next request |
| Admins | Sign in as usual and land on the License page, where they paste a license |
| Applications: SAML, OpenID Connect, SCIM and the Admin API | 503 with {"error":"license_required"} |
Nothing is deleted while an organization is locked. A valid license unlocks it at once.
Banners
Banners show at the top of every page for people who are signed in. Each has a close button.
| When | Who | Text | Closed |
|---|---|---|---|
| The trial has started | Admins | Your 30-day trial has started. It ends on the date, with Activate a license | For good |
| The last 3 days of the trial | Admins | Your trial ends in the days, After that the service is locked until a license is activated. | Until the page loads again |
| The last 3 days of the license | Admins | Your license expires in the days, Generate a new one at releases.sovrain.app., with Replace the license | Until the page loads again |
| After the license ended | Admins | The days left to pay for the new license and activate it. Without it everyone loses access to the service., with Open License | Until the page loads again |
| The last 5 days before the lock | Everyone else | The days left before this service is locked. Ask your administrator to renew the license. | Until the page loads again |
No trial banner shows once a license is pasted, and no expiry banner while a next license waits.
Daily check
| Item | Value |
|---|---|
| When | Once a day, between 02:23 and 03:23 UTC; the minute depends on IDP_BASE_URL |
| Where | IDP_LICENSE_CHECK_URL, by default https://releases.sovrain.app/api/sovrain/license/check |
| Sent | The license, Sovrain’s version, the number of users, the installation ID and the license’s end date |
Answer revoked | The organization is locked; that license can no longer be pasted |
| Any other answer, or no answer | Nothing changes; the next check is the next day |
| Shown | last check on the License page |
| Offline license | Not checked; the page shows Offline license, not checked online |
Clock
Sovrain notes the time it last saw each organization. If the server’s clock moves back by more than an hour, the organization is locked with The server clock was moved back, so the license cannot be checked. until the clock shows the right time again. Saving a valid license also ends this lock.