Skip to content

Release 1.0.0b0#6

Merged
kishore7snehil merged 2 commits intomainfrom
release/1.0.0b0
Apr 9, 2026
Merged

Release 1.0.0b0#6
kishore7snehil merged 2 commits intomainfrom
release/1.0.0b0

Conversation

@kishore7snehil
Copy link
Copy Markdown
Contributor

@kishore7snehil kishore7snehil commented Apr 9, 2026

Change Log

1.0.0b0 (2026-04-09)

v1.0.0b0 is the first release of the Auth0 My Organization Python SDK — a Fern-generated SDK for the Auth0 My Organization API, built with Fern:

  • 🔑 Automatic Token Management: MyOrganizationClient and AsyncMyOrganizationClient wrappers handle token acquisition, caching, and refresh automatically — no manual token management needed.
  • 🔒 Flexible Authentication: Supports client credentials (OAuth 2.0 client_credentials grant) and static tokens out of the box. AsyncTokenProvider ensures non-blocking token acquisition in async contexts.
  • 📂 Organized Sub-Clients: API operations are grouped into logical hierarchical sub-clients — organization_details, organization.domains, organization.identity_providers, organization.configuration, and more — for clear discoverability.
  • 🛡️ Strong Type Safety: All API operations use typed Pydantic request/response models with full type annotation support.
  • Typed Exception Handling: Specific exception types for each HTTP error status — BadRequestError, UnauthorizedError, ForbiddenError, NotFoundError, ConflictError, TooManyRequestsError.
  • 📡 Raw HTTP Response Access: Access status codes, headers, and URL alongside your parsed data via .with_raw_response.
  • 📄 Cursor-Based Pagination: Automatic pagination via SyncPager and AsyncPager with .items and .has_next support.
  • 🔃 Automatic Retries: Exponential backoff on 408, 429, and 5XX responses with configurable max_retries.
  • 🧩 Per-Request Options: Override timeout, retries, and headers on any individual call via request_options.
  • 📋 Auth0-Client Telemetry: The Auth0-Client header is sent automatically on every request with SDK name, version, and Python runtime version.

📦 Installation

poetry add myorganization-python==1.0.0b0

Requirements

  • Python >= 3.9

🚀 Quick Start

from auth0.myorganization import MyOrganizationClient

client = MyOrganizationClient(
    domain="mytenant.auth0.com",
    client_id="YOUR_CLIENT_ID",
    client_secret="YOUR_CLIENT_SECRET",
    organization="YOUR_ORG_ID",
)

details = client.organization_details.get()
print(details.display_name)

Async Usage

import asyncio
from auth0.myorganization import AsyncMyOrganizationClient

client = AsyncMyOrganizationClient(
    domain="mytenant.auth0.com",
    client_id="YOUR_CLIENT_ID",
    client_secret="YOUR_CLIENT_SECRET",
    organization="YOUR_ORG_ID",
)

async def main():
    details = await client.organization_details.get()
    print(details.display_name)

asyncio.run(main())

⚠️ Beta Notice

This is a beta release. The API surface may change before the GA release based on feedback. We encourage you to try it out and share your thoughts.


🙏 Thank You

Thank you to everyone who has been testing early builds and providing feedback — it's been invaluable in shaping this release.

We'd love to hear how it works for your use case. Please open an issue if you run into anything or have suggestions.

- Change version from semver 1.0.0-beta.0 to PEP 440 1.0.0b0
- Remove pyproject.toml from .shiprc (publish workflow handles version)
- Rewrite CHANGELOG.md with comprehensive feature list matching Java/.NET/Go SDKs
@kishore7snehil kishore7snehil merged commit d379a11 into main Apr 9, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants