--- id: authentik-client version: "2026.5.6" license: MIT license_treatment: permissive maintenance: active --- # authentik-client — authentik License: permissive · Maintenance: active · Downloads: 227.2K/mo ## What it is and what it does authentik-client is an auto-generated Python wrapper around authentik's REST API, built from OpenAPI specification. It provides typed classes and methods to interact with authentik's admin endpoints (apps, files, settings, system info), authenticator management (Duo, email, SMS, endpoint), and other identity platform features. The package handles HTTP communication via urllib3 and request/response serialization through pydantic, abstracting away raw HTTP details. You configure it with an API host and bearer token, then instantiate API class instances (like AdminApi or AuthenticatorsApi) and call methods that map directly to authentik's REST endpoints. It's designed for developers building Python applications that need to programmatically manage authentik deployments, configure authenticators, or query system state—typical use cases include automation scripts, integration layers, and admin dashboards. Use it for: - Automate authentik user and app provisioning in deployment pipelines or infrastructure-as-code workflows - Build Python admin dashboards or CLI tools that query and modify authentik settings and authenticators - Integrate authentik identity management into third-party applications that need to check system status or configure MFA - Write integration tests that set up and tear down authentik state programmatically - Sync authenticator configurations (Duo, email, SMS) across multiple authentik instances ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. A Python client library for the authentik identity and access management API, auto-generated from OpenAPI specification to provide typed access to authentik's admin, authenticator, and system endpoints. Yes. The package has low install friction, active maintenance, permissive licensing, and no known vulnerabilities. It's the official generated client for authentik's API and is suitable for any Python project that needs to interact with authentik programmatically. Install it if you're automating authentik administration or integrating it into a larger system. ## Install pip install authentik-client uv add authentik-client poetry add authentik-client ## Installing authentik-client Before you install: Low install friction with four lightweight runtime dependencies (urllib3, python-dateutil, pydantic, typing-extensions). Active maintenance with a release 23 days ago. Requires Python 3.9+. License in practice: MIT license permits free use, modification, and distribution with minimal restrictions—suitable for commercial and open-source projects alike. Quickstart: pip install authentik-client import os import authentik_client from authentik_client.rest import ApiException configuration = authentik_client.Configuration( host="/api/v3", access_token=os.environ["BEARER_TOKEN"] ) with authentik_client.ApiClient(configuration) as api_client: api_instance = authentik_client.AdminApi(api_client) response = api_instance.admin_apps_list() print(response) Requires Python 3.9+. Must have a running authentik instance and a valid bearer token in the BEARER_TOKEN environment variable. Verify before relying: - Whether the generated client is kept in sync with authentik server releases and how version mismatches are handled - Stability guarantees for the auto-generated API surface across minor version updates ## Package facts - License: MIT (permissive) - Python support: supports_current - Install friction: low - Maintenance: active - Downloads: 227.2K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags authentik api client, identity management python, openapi generated client, authentik admin api, iam api python client, authentication management sdk, authentik rest client, identity-management, openapi-generated, rest-client [View on SkillFed](https://skillfed.io/packages/authentik-client) · [View on PyPI](https://pypi.org/project/authentik-client/)