Quickstarts
End-to-end tutorials: from zero to an authenticated user, with complete, runnable code.
- Multi-tenant identity in 15 minutes The golden path — create an issuer, configure a client, create an organization, authenticate an org-scoped credential, and read the identity event trail.
- Add authentication to a Next.js app Add authentication to your [Next.js](https://nextjs.org) app with AuthPI — using the AuthPI SDK or any OIDC client library.
- Add authentication to a Hono app Add authentication to your [Hono](https://hono.dev) app with AuthPI — using the AuthPI SDK or any OIDC client library.
- Server-side auth with the TypeScript SDK Authenticate users in a Node.js backend with @authpi/idp — authorization-code flow with PKCE, callback handling, session refresh, and per-organization authorization, step by step.
- Add authentication to a Cloudflare Worker Protect a Cloudflare Workers API with AuthPI access tokens — JWT verification with jose, scope-based authorization, local testing, and deploy.
- Add authentication to a SvelteKit app Add authentication to your [SvelteKit](https://svelte.dev/docs/kit) app with AuthPI — using the AuthPI SDK or any OIDC client library.
- Give an AI agent an identity in 10 minutes Create an agent identity, add a secret verifier, mint a five-minute OAuth token via client_credentials, and validate it in your API with jose.