Kora/extensions/core/Configuration

Configuration

Key format, license statuses, validation rules, offline licenses, access rules and leak detection.

Find these under Configs > Core > Licenses.

Keys

SettingDefaultWhat it does
License key formatStandardThe shape of new keys: Standard (XXXXX-XXXXX-XXXXX-XXXXX), Short, UUID, Compact or Custom.
Custom formatXXXXX-XXXXX-XXXXX-XXXXXThe pattern used when the format is Custom.

Statuses

Each status has a Name, an ID, a Type and a Message. A positive status passes validation and a negative one fails it with its message.

NameIDTypeMessage
ActiveactivePositiveThis license is valid.
SuspendedsuspendedNegativeThis license is suspended.
RevokedrevokedNegativeThis license has been revoked.

Add your own, such as a trial status that passes or a chargeback status that fails. The ID of a negative status is returned as the result code.

Validation

SettingDefaultWhat it does
Require the product on every requestOnRequests without product_name fail with missing_product.
Require an API token with the validate scopeOffOnly callers with a token holding licenses.validate can check keys.
Grace period after expiry (hours)0How long a license keeps working after it expires.
Activate new devices on validationOffEvery validation also takes a free whitelist seat, like POST /api/v1/licenses/activate.
Keep validation logs (days)30How long validation logs are kept. 0 keeps them forever.

Offline Licenses

SettingDefaultWhat it does
Allow offline license filesOnLets staff and customers download signed offline license files.
Refresh after (days)30How long a downloaded file is trusted before the product must check online again.

Access Rules

SettingDefaultWhat it does
Country headercf-ipcountryA proxy header with the visitor's country. Used before the geo database when present. Leave empty to always use the geo database.
Update the geo database monthlyOnDownloads the newest DB-IP country database on the 3rd of each month.
Show countries in validation logsOnStores the country of each request in the validation log.

Leak Detection

SettingDefaultWhat it does
Flag keys used from too many placesOnTurns leak detection on.
Window (hours)24How far back Kora looks.
Max IP addresses5Different IPs allowed in the window.
Max devices3Different hwid values allowed in the window.
ActionFlag onlyFlag only, or Flag and change status.
StatusSuspendedThe negative status given when the action changes the status.