Auth0 SDK for Python
Repo auth0/auth0-python, read from GitHub 1 min ago. auth0 has not joined Take My Repo.
⚠️ Breaking Changes
genai_trial removed from the tenant settings flags. Reading flags.genai_trial raises AttributeError when the response does not include it. Use getattr(flags, "genai_trial", None) if you still read it #913 (fern-api[bot])Added
okta_oin_listing_url on client express_configuration in client.clients.create() and update() and in client responses. universal_logout_config on client.self_service_profiles.sso_ticket.create(), whose required allow_configuration boolean lets the end user set up Universal Logout during the self-service enterprise configuration flow. google_account_linking with allow_streamlined_linking on client.clients.create() and update() and in client responses. key_use on the request for client.connections.keys.create() and rotate(), set to encryption to provision or rotate an encryption key on OIDC and Okta connections, with signing as the default. Password dictionary match_type (exact or substring), client_id and allowed_audiences on connection options, the ES256 and PS384 client credential algorithms, the model_context_protocol_server resource server type, the agent_gateway.authentication.fail, agent_gateway.operation.fail, and agent_gateway.operation.success log stream filter groups, and the exported IncludeUserProfileSizeHeaderEnum type #913 (fern-api[bot])Changed
credentials is now optional on client.emails.provider.create(), and calls that pass it keep working. Connection key methods and models now describe both signing and encryption keys, and include_totals on client.users.groups.get() notes that the returned total reflects at most 1,000 results. These description updates do not change behavior #913 (fern-api[bot])Added
signup_behavior field (allow or block) on the passkey authentication method of a connection, matching the password authentication method. The field sits under authentication_methods.passkey in the connection options accepted by client.connections.create() and update(). pending-consent added to the known screen group names used by prompt rendering and ACUL screen settings #911 (fern-api[bot])Changed
oidc_support descriptions on clients and client profiles, and the report_to_group description for CSP reporting, for improved clarity. Description changes only, with no change in behavior #911 (fern-api[bot])⚠️ Breaking Changes
management.attack_protection.captcha_policies removed along with its policy, match, and action models and the per-provider action settings for Arkose, hCaptcha, Friendly CAPTCHA, reCAPTCHA Enterprise, reCAPTCHA v2, Simple CAPTCHA, and auth challenge. Code that accesses it now raises AttributeError, and there is no replacement in this release. management.experimentation.experiments.create() now requires allocation_strategy, so calls that omit it raise TypeError. Pass it explicitly, for example allocation_strategy="percentage" #905 (fern-api[bot])Added
management.portals.list(), create(), get(), update(), delete()), user consent signing key management (management.users.list_consent_signing_keys(), get_consent_signing_key(), delete_consent_signing_key()), resource server type on create() and update() and in responses, agent_subject_claims on resource servers, oidc_support on client responses and client profiles, database connection options.otp_settings for email and phone OTP length and expiry, SAML connection cross-app access requesting app with client credentials and token endpoint settings, a status filter on management.experimentation.segments.list(), a transaction context on event stream cloud events, and agent_id on client search results #905 (fern-api[bot])Changed
UpdateVariationOverridesMap now accepts None. Top-level keys merge into the stored overrides, a null value removes a key, and None or {} clears all overrides. The tenant settings flag dashboard_insights_view is documented as deprecated with no effect. is_valid on experiment responses is documented as the state at the last update, which can lag later changes #905 (fern-api[bot])⚠️ 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 (fern-api[bot])Added
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 (fern-api[bot])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 (fern-api[bot])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 (developerkunal)⚠️ Breaking Changes
management.organizations.organization_template sub-client removed along with six types (OrganizationTemplate, OrganizationTemplateAllowedStrategyEnum, OrganizationTemplateRoleVisibilityEnum, OrganizationTemplateRoleVisibilityOverride, OrganizationTemplateRoleVisibilityPolicy, OrganizationTemplateUseForOrganizationDiscovery). ConnectionDeletionBehaviorEnum and OrganizationDeletionBehaviorEnum also removed from the public surface #894 (fern-api[bot])Added
management.experimentation.experiments), feature flags (management.experimentation.feature_flags), segments (management.experimentation.segments), and variations (management.experimentation.feature_flags.variations). Resource server require_consent_non_repudiation flag, client oidc_support parameter, connection thumbprints_sha_384 field, new OauthScope experimentation values, and ClientOidcBackchannelLogoutInitiatorsEnum.profile-changed #894 (fern-api[bot])Added