SDKs
Official SDKs for the IdP API (TypeScript, Python) and the Admin/Core API (TypeScript, Python).
The IdP SDKs implement the OIDC flows your application uses to authenticate users and agents. The
Admin SDKs wrap the Core API for backend management — provisioning users, organizations, webhooks, and API keys.
Install from npm (@authpi/idp, @authpi/admin) or PyPI (authpi-idp, authpi-admin).
- Admin SDK — Python Manage AuthPI from Python backends with authpi-admin — async-first issuer, user, organization, and webhook management with typed models and auto-pagination.
- Admin SDK — TypeScript Manage AuthPI from TypeScript backends with @authpi/admin — issuers, users, organizations, webhooks, and API keys, with typed responses, retries, and auto-pagination.
- IdP SDK — Python Add AuthPI login to Python backends with authpi-idp — the OIDC authorization-code flow with PKCE, token refresh, and per-organization authorization checks.
- IdP SDK — TypeScript Add AuthPI login to TypeScript backends with @authpi/idp — the OIDC authorization-code flow with PKCE, client_credentials for M2M, token refresh, and per-organization authorization checks.