Skip to Content
DocsComplete example — Connect with Valyd

Complete example — Connect with Valyd

🔑 Auth: client_id + client_secret (server-side) · 👤 This IS the login — standard OpenID Connect · 📖 After login: read the account with a Bearer access token

This page is now the stack-by-stack Quickstarts — Node.js, Next.js, Python, PHP, cURL, or any OIDC library, each a complete working login.

The direct successor of the example that lived here is the Node.js (Express) quickstart — the same single-file app, line by line.

Prefer to clone it? valyd-sandbox-starter on GitHub (or download the zip) — fill .env, npm run dev. It can also test a verification workflow: set VALYD_VERIFY_API_KEY + VALYD_WORKFLOW_ID in .env.

npm install @valyd/sdk express express-session dotenv
Last updated on