Checklist
Description
I am getting a validation error when calling users.get(). My ID is linked to github and the identities block seems to split out the provider and the ID. The ID is stored as an int and is falling foul of pydantic's validation
1 validation error for GetUserResponseContent
identities.0.user_id
Input should be a valid string [type=string_type, input_value=123456789, input_type=int]
I think this is because GetUserResponseContent is using UserIdentitySchema to store identities and user_id is expected to be a string. I believe the screen below is capturing where the issue is happening.
Reproduction
- Attempt to get a user with a github identity -
client.users.get(id="github|123456789")
- Get a validation error
Additional context
No response
auth0-python version
5.2.0
Python version
3.12.12
Checklist
Description
I am getting a validation error when calling
users.get(). My ID is linked to github and the identities block seems to split out the provider and the ID. The ID is stored as an int and is falling foul of pydantic's validationI think this is because
GetUserResponseContentis usingUserIdentitySchemato store identities anduser_idis expected to be a string. I believe the screen below is capturing where the issue is happening.Reproduction
client.users.get(id="github|123456789")Additional context
No response
auth0-python version
5.2.0
Python version
3.12.12