feat: allow import of federated users in ImportHumanUser (#4675)

Co-authored-by: Fabi <38692350+hifabienne@users.noreply.github.com>
This commit is contained in:
Livio Spring
2022-11-09 09:33:50 +01:00
committed by GitHub
parent a4ddedb5f4
commit eba602e064
7 changed files with 332 additions and 16 deletions

View File

@@ -3128,6 +3128,14 @@ message ImportHumanUserRequest {
string value = 1;
string algorithm = 2;
}
message IDP {
// internal id of the IDP in ZITADEL
string config_id = 1 [(validate.rules).string = {min_len: 1, max_len: 200}];
// id of the user on the IDP
string external_user_id = 2 [(validate.rules).string = {min_len: 1, max_len: 200}];
// (display) name of the user on the IDP
string display_name = 3 [(validate.rules).string = {max_len: 200}];
}
string user_name = 1 [(validate.rules).string = {min_len: 1, max_len: 200}];
@@ -3138,8 +3146,8 @@ message ImportHumanUserRequest {
HashedPassword hashed_password = 6;
bool password_change_required = 7;
bool request_passwordless_registration = 8;
string otp_code = 9;
repeated IDP idps = 10;
}
message ImportHumanUserResponse {