Public Runtime API v1 Live (1.0.0-dev-pilot)
Custom Transactions V2: Planned (Not Deployed)
@trustlith/sdk-js: Local Prototype Only
Cryptographic Authentication & Authorization Developer Center
Integrate Trustlith hardware-backed ES256 authentication (login and fund_transfer) into your backend SaaS application using verified Public Runtime API v1 REST endpoints. Need an app-specific kit? Sign in to Developer Portal to generate one without embedding secrets.
AI Integration Prompt
Read https://developers.trustlith.com/TRUSTLITH-INTEGRATION.md (or TRUSTLITH-INTEGRATION.md at the repository root) and integrate Trustlith Public Runtime API v1 into our backend.
Requirements:
1. Keep TRUSTLITH_API_KEY strictly on the backend server; never expose API keys in frontend/mobile code.
2. Never send tenantId or applicationId overrides in POST /v1/challenges; set context.origin to match our registered Trustlith application origin.
3. Use action: "login" for login step-up or action: "fund_transfer" with transactionContext.type: "fund_transfer" for transfers. Do NOT call unimplemented V2 custom transaction routes.
4. Bind challengeId to the authenticated session, poll GET /v1/challenges/:id/status, support POST /v1/challenges/:id/cancel, and fail closed unless status === "APPROVED".
5. Add automated tests covering APPROVED, REJECTED, CANCELLED, EXPIRED, and API error responses.