Skip to content

invalid types for user_management.create_user password_hash_type #460

@alastair

Description

@alastair

workos.user_management.UserManagement.create_user takes a parameter password_hash_type if you want to upload a hashed password to workos.

In this library this field is typed as Optional[PasswordHashType].
In workos.types.user_management.password_hash_type this type is defined as PasswordHashType = Literal["bcrypt", "firebase-scrypt", "ssha"]
However workos also supports pbkdf2 passwords, so this literal should be added to the type

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