Skip to Content
DocsSDKs & tools

SDKs & tools

Everything here is real and maintained — no empty language tabs. For stacks without an SDK, use the raw API quickstarts or point your own OIDC library at the discovery document.

@valyd/sdk — Node.js (official)

The one package for both products: valyd.auth (Connect with Valyd — OIDC transaction, PKCE, verified ID tokens) and valyd.verify (verification sessions, checks, webhooks).

npm install @valyd/sdk
  • Node quickstart · SDK guide · npm: @valyd/sdk
  • Server-side only — the client secret and API key never belong in a browser.

Sign-in button (browser)

A two-line drop-in “Sign in with Valyd” button — generates state/nonce, sets first-party cookies, and starts the standard flow. Environment follows the script host.

<script src="https://idp.valyd.work/signin/client.js" async></script> <div class="valyd-signin" data-client-id="YOUR_CLIENT_ID" data-redirect-uri="https://yourapp.com/auth/valyd/callback"></div>

Starter project

A minimal Express app wired with @valyd/sdk — clone, fill .env, npm run dev. It shows the full Connect with Valyd (OIDC + PKCE) flow, and — if you set VALYD_VERIFY_API_KEY + VALYD_WORKFLOW_ID in .env — adds a Test a verification workflow button that runs one of your Verify workflows against the signed-in account.

MCP server (AI agents)

Remote MCP server exposing verification as agent tools, secured with OAuth 2.1 + PKCE.

  • Setup · Tools · Endpoint: https://mcp.valyd.work/verification/mcp

Machine-readable

Last updated on