mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-11 17:27:31 +00:00
feat: allow machine user id to be set during creation (#8265)
# Which Problems Are Solved Solves the problem described in #8264. # How the Problems Are Solved Added a UserID field which can be set during Machine User creation. # Additional Changes Added addition unit and integration tests to cover the cases where a UserID field is present. # Additional Context - Closes #8264 Co-authored-by: Stefan Benz <46600784+stebenz@users.noreply.github.com>
This commit is contained in:
@@ -8182,6 +8182,15 @@ message AddMachineUserRequest {
|
||||
zitadel.user.v1.AccessTokenType access_token_type = 4 [
|
||||
(validate.rules).enum = {defined_only: true}
|
||||
];
|
||||
|
||||
// optionally set your own id unique for the user.
|
||||
optional string user_id = 5 [
|
||||
(validate.rules).string = {min_len: 1, max_len: 200},
|
||||
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
|
||||
max_length: 200;
|
||||
example: "\"316b7fa5-0535-4adb-9e93-963a91b1010c\"";
|
||||
}
|
||||
];
|
||||
}
|
||||
|
||||
message AddMachineUserResponse {
|
||||
|
Reference in New Issue
Block a user