# 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.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://doc.ozforensics.com/oz-knowledge/guides/developer-guide/sdk/oz-liveness-websdk/web-plugin/no-server-licensing.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
