You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
UserServiceMachine request model is missing accessTokenType supported by User Service V2 #140
The generated UserServiceMachine request model does not expose accessTokenType, although current ZITADEL User Service V2 supports setting it when creating or updating a machine user.
This prevents Python SDK users from requesting JWT access tokens. ZITADEL otherwise defaults new machine users to opaque bearer tokens.
The SDK already contains:
UserServiceAccessTokenType
ACCESS_TOKEN_TYPE_BEARER
ACCESS_TOKEN_TYPE_JWT
access_token_type on the UserServiceMachineUser response model
However, the corresponding request model only contains name and description.
Environment
zitadel_client==4.1.8
Python 3.14.6
This appears to be a generated-schema issue and is not Python-version-specific.
The current protobuf contains access_token_type on the nested machine messages for both CreateUserRequest and UpdateUserRequest, but the Python SDK request model still reflects the older schema.
Suggested resolution
Please regenerate the Python SDK against a current ZITADEL core schema and add a serialization test confirming that accessTokenType is included in create and update machine-user requests.
Activity