# No-Server Licensing

{% hint style="warning" %}
**This article covers a rare case when you use Web Plugin only.** If you have a standard installation with Web Adapter, **do not** use these licensing parameters in `OzLiveness.open()` – your server license will be managed automatically. Passing a license via the frontend will override the server license and may cause unexpected expiration issues.&#x20;
{% endhint %}

To generate the license, we need the domain name of the website where you are going to use Oz Forensics Web SDK, for instance, your-website.com. You can also define subdomains.

{% hint style="info" %}
To find the origin, in the developer mode, run `window.origin` on the page you are going to embed Oz Web SDK in. At localhost / 127.0.0.1, license can work without this information.
{% endhint %}

Set the license as shown below:

* With license data:

```javascript
OzLiveness.open({
    license: {
        'payload_b64': 'some_payload',
        'signature': 'some_data',
        'enc_public_key': 'some_key'
    },
    ...,
})
```

* With license path:

```javascript
OzLiveness.open({
    licenseUrl: 'https://some_url',
    ...,
})
```

Check whether the license is updated properly.

**Example**

Proceed to your website origin and launch Liveness -> Simple selfie.

Once the license is added, the system will check its validity on launch.
