From 3b29e7023ed97c72565e0283c5701e58a447b789 Mon Sep 17 00:00:00 2001 From: daeyeon ko Date: Tue, 22 Jul 2025 15:25:50 +0900 Subject: [PATCH] =?UTF-8?q?Revert=20"fix:=20Change=20user=20MFA=20requset?= =?UTF-8?q?=20payload=20method=20from=20unstructured=20format=20=E2=80=A6"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit 9bac0c5d7450a4a8505a2eac2a34b03cd4abff55. --- proto/spaceone/api/identity/v2/user.proto | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/proto/spaceone/api/identity/v2/user.proto b/proto/spaceone/api/identity/v2/user.proto index 82e9f10f..27eaf754 100644 --- a/proto/spaceone/api/identity/v2/user.proto +++ b/proto/spaceone/api/identity/v2/user.proto @@ -117,11 +117,6 @@ enum UserRequiredAction { ENFORCE_MFA = 1; } -enum MFAType { - MFA_TYPE_NONE = 0; - OTP = 1; - EMAIL = 2; -} message MFA { enum State { @@ -131,7 +126,7 @@ message MFA { } State state = 1; - MFAType mfa_type = 2; + string mfa_type = 2; google.protobuf.Struct options = 3; } @@ -167,9 +162,9 @@ message CreateUserRequest { // If reset_password is true, send email bool reset_password = 9; // +optional - optional bool enforce_mfa = 10; + MFA mfa = 10; // +optional - MFAType enforce_mfa_type = 11; + repeated UserRequiredAction required_actions = 11; } //{ @@ -199,9 +194,9 @@ message UpdateUserRequest { // +optional bool reset_password = 8; // +optional - optional bool enforce_mfa = 9; + MFA mfa = 9; // +optional - MFAType enforce_mfa_type = 10; + repeated UserRequiredAction required_actions = 10; } //{