--- id: auth0-python version: "6.2.0" license: MIT license_treatment: permissive maintenance: active --- # auth0-python — Auth0 Python SDK - Management and Authentication APIs License: permissive · Maintenance: active · Downloads: 7.1M/mo ## What it is and what it does The Auth0 Python library is the official SDK for integrating Auth0 identity services into Python applications. It wraps Auth0's Authentication API (for token acquisition via client credentials, authorization codes, and other flows) and Management API (for user and action management) into a single, cohesive client interface. The library supports both synchronous and asynchronous I/O patterns, automatic token refresh when using client credentials, pagination for large result sets, and built-in retry logic with exponential backoff for transient failures. The package depends on httpx and requests for HTTP transport, pydantic for response validation, cryptography and pyjwt for token handling, and aiohttp for async support. It is actively maintained, supports Python 3.10 through 3.14, and includes typed responses and raw response access for advanced use cases. Exception handling is provided through ApiError subclasses, and the library defaults to a 60-second timeout with configurable overrides. Use it for: - Acquire access tokens programmatically for service-to-service authentication using client credentials flow. - Manage Auth0 users (create, update, list, delete) from a Python backend application. - Build async-first applications that need non-blocking calls to Auth0 APIs without spawning threads. - Implement custom retry and timeout policies by passing httpx clients with proxy or transport configuration. - Paginate through large user or action lists using the built-in SyncPager or AsyncPager generators. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Provides Python bindings to Auth0's Authentication and Management APIs, supporting both synchronous and asynchronous workflows for token acquisition, user management, and identity operations. Yes. The library is actively maintained, has no known vulnerabilities, installs with low friction, and is the official Auth0 SDK for Python. Use it if you need to integrate Auth0 authentication or user management into a Python application. The Python ≥3.10 requirement may exclude legacy environments, but is reasonable for current deployments. ## Install pip install auth0-python uv add auth0-python poetry add auth0-python ## Installing auth0-python Before you install: Low friction installation with a pure-Python wheel. Actively maintained with a release 9 days ago and recent commits. Requires Python ≥3.10, which is current but excludes older environments. License in practice: MIT license permits unrestricted use, modification, and distribution in both open-source and commercial projects with minimal obligations. Quickstart: pip install auth0-python from auth0.management import ManagementClient client = ManagementClient( domain="your-tenant.auth0.com", client_id="YOUR_CLIENT_ID", client_secret="YOUR_CLIENT_SECRET", ) users = client.users.list() Requires Python ≥3.10; Auth0 tenant credentials (domain, client_id, client_secret) needed for API access. Verify before relying: - Rate limit handling behavior and whether automatic retries cover Auth0-specific throttling scenarios. - Whether the async client properly handles connection pooling across concurrent requests in production workloads. ## Package facts - License: MIT (permissive) - Python support: supports_current - Install friction: low - Maintenance: active - Downloads: 7.1M/month (top 5,000 on PyPI) - Known vulnerabilities: none known ## Tags auth0 python sdk, authentication api client, identity management library, oauth token management, async auth0 client, user management api, openid connect python, identity-management, oauth-openid, async-support [View on SkillFed](https://skillfed.io/packages/auth0-python) · [View on PyPI](https://pypi.org/project/auth0-python/)