/
Important notes
- Initialize early. The SDK needs time to collect device signals before it can produce a token. Initialize as early in your app lifecycle as you can.
- Fresh tokens per call. Generate a new
diSessionTokenfor each API call — don't reuse them across requests. - Both endpoints. Pass
diSessionTokento both the Prefill and Onboarding requests for full SNA coverage. - Graceful fallback. If SDK init or token generation fails, just proceed without the token. The user falls back to OTP verification — your flow still completes.