workos-python icon indicating copy to clipboard operation
workos-python copied to clipboard

invalid types for user_management.create_user password_hash_type

Open alastair opened this issue 5 months ago • 0 comments

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

alastair avatar Jul 16 '25 09:07 alastair