Web Adapter Configuration
Please note: this page covers the on-premise model of usage only.
If you use Oz Web SDK via SaaS, please contacts our engineers.
Oz Liveness WEB Adapter is set up via changes in the configuration file stored at the Oz Liveness WEB Adapter server:
/core/app_config.json
Before you start, it is highly advisable that you get an access token.
- 1.Create a service account. Its access token is set to expire in 5 years.
- 2.
- 3.Authorize: send a
POST request {{host}}/api/authorize/auth
, where{{host}}
stands for the API server address. In the request body, send the service account credentials: login and password. For more information, please refer to this article. - 4.The response to your request will contain the
access_token
parameter. Copy its value to theapi_token
parameter of the/core/app_config.json
file. Setapi_use_token
toconfig
. You're done.
Please find a sample for Oz Liveness Web SDK here. To make it work, replace
<web-adapter-url>
with the Web Adapter URL you've received from us.For Angular and React, replace
https://web-sdk.sandbox.ozforensics.com
in index.html.Last modified 2d ago