Changes
⚠️ Breaking Changes
clients.update()social/FedCM request types changed —native_social_loginandfedcm_loginonclients.update()(PATCH /api/v2/clients/{id}) changed fromNativeSocialLogin/FedCmLogintoNativeSocialLoginPatch/FedCmLoginPatch.clients.create()still uses the non-patch types, so create and update now require different types for the same logical field. Code passing the old types toupdate()must switch to the*Patchvariants.UserDateSchemaremoved — user date fields nowdatetime— theUserDateSchematype (Union[str, Dict[str, Any]]) is deleted and no longer exported fromauth0.management.types.created_at,updated_at,last_login,last_password_reset, andmultifactor_last_modifiedonGetUserResponseContent,CreateUserResponseContent,UpdateUserResponseContent, andUserResponseSchemaare nowOptional[datetime.datetime]. Code that read these as strings/dicts must update.
Type Changes
- Clients — FedCM / Google One Tap — new
fedcm_login(read:FedCmLogin/FedCmLoginGoogle; write:FedCmLoginPatch/FedCmLoginGooglePatch) on create/update/response, gating the Google One Tap prompt in New Universal Login viafedcm_login.google.is_enabled. - Clients — Native Social Login patch types — new
NativeSocialLoginPatchwrappingapple/facebook/googlepatch variants (eachenabled: Optional[bool]) forclients.update(). - Clients — Token Vault Privileged Access — new
token_vault_privileged_accessfield on create/update/response, typedClientTokenVaultPrivilegedAccessWithPublicKey(create) andClientTokenVaultPrivilegedAccessWithCredentialId(update), each withcredentials+ip_allowlist. - Connections — Cross App Access — new
cross_app_access_requesting_appfield (CrossAppAccessRequestingApp{active: bool}) onconnections.create()/update(), OIDC/Okta request types, and all connection response types. - Identity
user_idwidened toUnion[str, int]— onUserIdentitySchema,UserIdentity, andDeleteUserIdentityResponseContentItem, fixing Pydantic errors on numeric (e.g. GitHub) identity IDs. - Email templates — new
auth_email_by_codevalue inEmailTemplateNameEnum. - Attack Protection — Phone Provider Protection — new
attack_protection.phone_provider_protectionsub-client withget()/patch(type=...)(GET/PATCH /attack-protection/phone-provider-protection); newPhoneProviderProtectionBackoffStrategyEnum(exponential/none) and response types.
Bug Fixes
- 404 handling added across multiple raw clients —
keys.signing,organizations(connections, enabled connections, members, member roles),roles.permissions,self_service_profiles.sso_ticket,user_attribute_profiles, andusers(connected accounts, organizations, permissions, roles) now raise a typedNotFoundErroron 404 instead of an unhandled parse error. - add
"CustomDomainHeader"to__all__. - change
CustomDomainHeaderreturn type annotation fromDict[str, Any]toRequestOptions.