Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: auth0/auth0-python
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 5.2.0
Choose a base ref
...
head repository: auth0/auth0-python
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 5.3.0
Choose a head ref
  • 3 commits
  • 122 files changed
  • 2 contributors

Commits on Apr 9, 2026

  1. feat:Add Auth0-Custom-Domain header support for Multiple Custom Dom…

    …ains (MCD) (#799)
    
    Added support for the `Auth0-Custom-Domain` header to enable Multiple
    Custom Domains (MCD).
    
    ### Changes
    
    - Added `custom_domain` parameter to `ManagementClient` and
    `AsyncManagementClient` for setting the `Auth0-Custom-Domain` header
    globally
    - Added `CustomDomainHeader` helper for per-request header override via
    `request_options`
    - Implemented whitelist enforcement via httpx event hooks , header is
    only sent on 8 whitelisted endpoints, stripped on all others
    
    | Path | Description |
    |------|-------------|
    | `/api/v2/jobs/verification-email` | Verification email jobs |
    | `/api/v2/tickets/email-verification` | Email verification tickets |
    | `/api/v2/tickets/password-change` | Password change tickets |
    | `/api/v2/organizations/{id}/invitations` | Organization invitations |
    | `/api/v2/users` | Users (list/create) |
    | `/api/v2/users/{id}` | Users (get/update/delete) |
    | `/api/v2/guardian/enrollments/ticket` | Guardian enrollment tickets |
    | `/api/v2/self-service-profiles/{id}/sso-ticket` | SSO tickets |
    
    Enforcement is implemented via httpx request event hooks that strip the
    header on non-whitelisted paths before the request is sent.
    
    - Per-request `CustomDomainHeader` takes precedence over the global
    `custom_domain` when both are provided
    - Added 22 unit tests covering initialization, header merging, whitelist
    enforcement, and async support
    - Updated `README.md` with Custom Domains documentation
    
    ### Usage
    
    ```python
    from auth0.management import ManagementClient, CustomDomainHeader
    
    # Global — header sent on all whitelisted endpoints
    client = ManagementClient(
        domain="your-tenant.auth0.com",
        token="YOUR_TOKEN",
        custom_domain="login.mycompany.com",
    )
    
    # Per-request override
    client.users.create(
        connection="Username-Password-Authentication",
        email="[email protected]",
        password="SecurePass123!",
        request_options=CustomDomainHeader("other.mycompany.com"),
    )
    ```
    
    ### References
    
    - Closes [#794](#794)
    
    ### Checklist
    
    - [x] All new/changed/fixed functionality is covered by tests
    - [x] I have added documentation for all new/changed functionality
    - [x] No Fern-generated files modified (all changes in
    `.fernignore`-listed files)
    kishore7snehil authored Apr 9, 2026
    Configuration menu
    Copy the full SHA
    a10c4c6 View commit details
    Browse the repository at this point in the history
  2. feat: Add CIMD support, organization connections, group deletion, ref…

    …resh token listing; remove AOL/Flickr/Yammer providers (#816)
    
    ## Summary
    
    Fern SDK regeneration with the following changes:
    
    ### New Endpoints & Clients
    - **Organizations Connections**- new sub-client with full CRUD (`list`,
    `create`, `get`, `update`, `delete`) for managing connections at the
    organization level
    - **Clients**- `preview_cimd_metadata()` and `register_cimd_client()`
    for Client ID Metadata Document (CIMD) support; `external_client_id`
    filter on `list()`
    - **Groups**- `delete(id)` endpoint
    - **Refresh Tokens** -`list(user_id, ...)` with checkpoint pagination
    support
    - **Resource Servers**- `allow_online_access` parameter on `create()`
    and `update()`
    
    ### Type Changes
    - **32 new types** added (CIMD validation, password policy options,
    organization connections, webhook auth headers, network ACL CIDR types)
    - **18 types removed**- legacy provider cleanup (AOL, Flickr, Yammer)
    - **72 types modified**- connection options, resource server fields,
    client metadata, enum updates
    
    ### Other Changes
    - **Network ACLs**: `priority` parameter changed from required to
    optional in `create()` / `update()`
    - **Connection Strategy Enum**: removed `aol`, `flickr`, `yammer` (along
    with `miicard`, `renren`, `thecity`, `thecity-sandbox`)
    
    Co-authored-by: fern-api[bot] <115122769+fern-api[bot]@users.noreply.github.com>
    fern-api[bot] authored Apr 9, 2026
    Configuration menu
    Copy the full SHA
    ae22120 View commit details
    Browse the repository at this point in the history
  3. Release 5.3.0 (#817)

    **Added**
    - feat: Add CIMD support, organization connections, group deletion,
    refresh token listing; remove AOL/Flickr/Yammer providers
    [\#816](#816)
    ([fern-api[bot]](https://github.com/apps/fern-api))
    - feat:Add `Auth0-Custom-Domain` header support for Multiple Custom
    Domains (MCD) [\#799](#799)
    ([kishore7snehil](https://github.com/kishore7snehil))
    kishore7snehil authored Apr 9, 2026
    Configuration menu
    Copy the full SHA
    de316f0 View commit details
    Browse the repository at this point in the history
Loading