Hosted UI
Use theuiHandle
from the Handshake to run the full verification flow via iframe or redirect.
Frontend initialization
Iframe
- Create an
<iframe>
and setsrc
touiHandle
. - Restrict embedding to your domains (CSP
frame-ancestors
orX-Frame-Options
).
Redirect
window.location.href = uiHandle
.- Optionally serve a short-lived 302 to reduce URL exposure.
Events
The SDK emits:journey.started
journey.step.completed
journey.completed
journey.fraud.alert
ui.closed
ui.timeout