-
Notifications
You must be signed in to change notification settings - Fork 186
Permalink
Choose a base ref
{{ refName }}
default
Choose a head ref
{{ refName }}
default
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
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
...
head repository: auth0/auth0-python
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 5.3.0
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
- 3 commits
- 122 files changed
- 2 contributors
Commits on Apr 9, 2026
-
feat:Add
Auth0-Custom-Domainheader 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)
Configuration menu - View commit details
-
Copy full SHA for a10c4c6 - Browse repository at this point
Copy the full SHA a10c4c6View commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for ae22120 - Browse repository at this point
Copy the full SHA ae22120View commit details -
**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))
Configuration menu - View commit details
-
Copy full SHA for de316f0 - Browse repository at this point
Copy the full SHA de316f0View commit details
Loading
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff 5.2.0...5.3.0