mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-12 02:57:32 +00:00
fix: add domain as attribute to list user auth methods (#8718)
# Which Problems Are Solved There is no option to only query auth methods related to specific domains. # How the Problems Are Solved Add domain as attribute to the ListAuthenticationMethodTypes request. # Additional Changes OwnerRemoved column removed from the projection. # Additional Context Closes #8615 --------- Co-authored-by: Livio Spring <livio.a@gmail.com>
This commit is contained in:
@@ -2133,6 +2133,21 @@ message ListAuthenticationMethodTypesRequest{
|
||||
example: "\"69629026806489455\"";
|
||||
}
|
||||
];
|
||||
optional DomainQuery domain_query = 2;
|
||||
}
|
||||
|
||||
message DomainQuery {
|
||||
// List also auth method types without domain information like passkey and U2F added through V1 APIs / Login UI.
|
||||
bool include_without_domain = 1;
|
||||
// List only auth methods with specific domain.
|
||||
string domain = 2 [
|
||||
(validate.rules).string = {min_len: 1, max_len: 200},
|
||||
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
|
||||
min_length: 1;
|
||||
max_length: 200;
|
||||
example: "\"example.com\"";
|
||||
}
|
||||
];
|
||||
}
|
||||
|
||||
message ListAuthenticationMethodTypesResponse{
|
||||
@@ -2213,4 +2228,4 @@ message VerifyInviteCodeRequest {
|
||||
|
||||
message VerifyInviteCodeResponse {
|
||||
zitadel.object.v2.Details details = 1;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user