Introducing VIDA Identity Stack: All of VIDA, in one place 🎉
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Content Security Policy (CSP)

To ensure seamless functionality of the Vida Web SDK, update your Content Security Policy (CSP) and network whitelist to allow the following resource:

script-src

'wasm-unsafe-eval' is required for face detection (WebAssembly).

Additional CSP Directives (Only required if you have these directives enforcement)

The SDK also makes API calls and loads additional resources based on the workflow configs. Add the following to your connect-src and img-src.

Production Env

Note: https://shield.vida.id & https://pixel-shield.vida.id are required only if you have ID Fraud shield enabled

https://vida-prod-tijori-1.s3.ap-southeast-3.amazonaws.com is required only if you have liveness color flash enabled

Sandbox Env

Note:https://sandbox-shield.vida.id & https://sandbox-pixel-shield.vida.id are required only if you have ID Fraud shield enabled

https://vida-sandbox-tijori-1.s3.ap-southeast-3.amazonaws.com is required only if you have liveness color flash enabled

Tip: You can use https://*.vida.id in place of individual subdomains if your policy allows wildcards. The Grafana collector ( used for error/crash logging ) and the S3 upload hosts ( used only for color flash ) must always be added explicitly.

Network / Firewall Whitelist

Allow outbound HTTPS (port 443) to: (only needed if SDK is used in an environment that enforces egress filtering or outbound firewall rules)

Tip: Use *.vida.id to cover all Vida-owned hosts with a single rule. The Grafana collector and the S3 upload host must still be whitelisted explicitly.

No inbound ports are required. If TLS inspection is enabled, exclude these hosts to avoid certificate failures.

Last updated