Repository navigation
Expose all generated resources on ManagementClient - #901
Merged
developerkunal merged 2 commits intoOct 14, 2026
Merged
developerkunal merged 2 commits into
developerkunal merged 2 commits into
Conversation
ManagementClient and AsyncManagementClient were missing nine resource properties that the generated Auth0 client already has: agents, client_profiles, connection_profiles, events, experimentation, groups, rate_limit_policies, risk_assessments, and user_attribute_profiles. Calls to those resources raised AttributeError on the wrapper. Add typed properties for each one to both classes. Add tests that compare the public properties of Auth0 with ManagementClient, and of AsyncAuth0 with AsyncManagementClient, so a missing resource fails CI.
Add a header comment to management_client.py describing how to keep it in step with the generated client. The drift test failure message now says what to add and where.
developerkunal
merged commit Oct 14, 2026
7b2d1c4
into
fern-bot/2026-10-13_05-52-23_527
7 checks passed
Merged
rmad17
added a commit
that referenced
this pull request
Oct 14, 2026
⚠️ **Breaking Changes** - `management.experimentation.experiments.update_status()` and `management.experimentation.feature_flags.update_status()` removed along with `UpdateExperimentStatusResponseContent` and `UpdateFeatureFlagStatusResponseContent`. Set status through `update(id, status=...)` instead. `SearchOrganization.metadata` removed. `ConnectionResponseCommon` no longer extends `CreateConnectionCommon` and requires `display_name`, though no endpoint returns this model. Feature flag `variations.delete()` no longer maps HTTP 400 to `BadRequestError`, so a 400 raises the base `ApiError` [\#898](#898) ([fern-api[bot]](https://github.com/apps/fern-api)) **Added** - Client profiles (`management.client_profiles`), CAPTCHA policies (`management.attack_protection.captcha_policies`), client and client grant search (`management.clients.search()`, `management.client_grants.search()`), and dynamic CIMD registration in tenant settings with per-client metadata status. Client `enforce_anon_session_transfer_network_binding` setting, `oidc_support` on `clients.update()`, tenant `dpop_strict_refresh_token_binding` setting, brute force protection `form_submission_mode`, `status` on experiments, feature flags, and segments, Google Workspace provisioning and directory sync on connection profiles, organization member access level on organization connection events, and the passkey Guardian factor [\#898](#898) ([fern-api[bot]](https://github.com/apps/fern-api)) **Changed** - `management.clients.register_cimd_client()` raises `ConflictError` on HTTP 409 instead of `ApiError`. `ConflictError` subclasses `ApiError`, so existing handlers still catch it. Role `owner_id` filter and response fields are typed as `RoleOwnerIdFilter` and `RoleOwnerId` string aliases. `a0stream` is now optional on connection, group, organization, and user cloud event types [\#898](#898) ([fern-api[bot]](https://github.com/apps/fern-api)) **Fixed** - `ManagementClient` and `AsyncManagementClient` now expose `agents`, `client_profiles`, `connection_profiles`, `events`, `experimentation`, `groups`, `rate_limit_policies`, `risk_assessments`, and `user_attribute_profiles`, which previously raised `AttributeError` [\#901](#901) ([developerkunal](https://github.com/developerkunal))
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes
ManagementClientandAsyncManagementClientdid not:agents,client_profiles,connection_profiles,events,experimentation,groups,rate_limit_policies,risk_assessments, anduser_attribute_profiles. Each returns the matching typed sub-client.client.agents.list()raisedAttributeErroron the wrapper, even though the generated client had the resource.Auth0withManagementClient, and ofAsyncAuth0withAsyncManagementClient. A resource added to the generated client without a matching wrapper property now fails the test suite.References
Testing
Covered by unit tests in
tests/management. The new drift tests fail when a wrapper property is missing.Checklist