Skip to content

patch_user() cannot set additionalIdentifiers, no typed parameter exists #1663

Description

@dishanthirpara-maker

Found while checking SDK parity for descope/etc#14470 (doc tracking for #14457).

patch()'s signature (user.py:344-361) has no parameter for additional_login_ids, and _compose_patch_body() (_user_base.py:245-260) doesn't handle it either. patch_batch() also silently drops UserObj.additional_login_ids despite the object carrying the attribute.

Not a hard block. A caller can reach the same endpoint via client.mgmt.user._http.patch(...), an internal pattern the SDK's own tests use. Undocumented and unsupported for customers though.

Fix needed: add additional_login_ids to patch()'s signature, wire into _compose_patch_body(), fix patch_batch() to use the attribute it already reads.

Severity: low urgency DX gap, not a functional block.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions