Public documentation
📦

TypeScript SDK

TypeScript SDK

Browser-side auth helpers and API clients for dashboard and product UIs.

WebAuthn

Include /auth/webauthn.js on product pages. The platform handles passkey registration and DBSC binding.

Session check

const res = await fetch('/api/v1/idp/session', { credentials: 'include' });
const session = await res.json();
if (!session.valid) location.href = '/auth';