diff --git a/proto/zitadel/user/v2beta/idp.proto b/proto/zitadel/user/v2beta/idp.proto index dc6e07a5e2..7d58ec5363 100644 --- a/proto/zitadel/user/v2beta/idp.proto +++ b/proto/zitadel/user/v2beta/idp.proto @@ -32,20 +32,20 @@ message LDAPCredentials { message RedirectURLs { string success_url = 1 [ - (validate.rules).string = {min_len: 1, max_len: 200, uri_ref: true}, + (validate.rules).string = {min_len: 1, max_len: 2048, uri_ref: true}, (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { description: "URL on which the user will be redirected after a successful login" min_length: 1; - max_length: 200; + max_length: 2048; example: "\"https://custom.com/login/idp/success\""; } ]; string failure_url = 2 [ - (validate.rules).string = {min_len: 1, max_len: 200, uri_ref: true}, + (validate.rules).string = {min_len: 1, max_len: 2048, uri_ref: true}, (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { description: "URL on which the user will be redirected after a failed login" min_length: 1; - max_length: 200; + max_length: 2048; example: "\"https://custom.com/login/idp/fail\""; } ]; diff --git a/proto/zitadel/user/v3alpha/authenticator.proto b/proto/zitadel/user/v3alpha/authenticator.proto index a87aaf010f..bab19bdcb6 100644 --- a/proto/zitadel/user/v3alpha/authenticator.proto +++ b/proto/zitadel/user/v3alpha/authenticator.proto @@ -315,21 +315,21 @@ message ReturnWebAuthNRegistrationCode {} message RedirectURLs { // URL to which the user will be redirected after a successful login. string success_url = 1 [ - (validate.rules).string = {min_len: 1, max_len: 200, uri_ref: true}, + (validate.rules).string = {min_len: 1, max_len: 2048, uri_ref: true}, (google.api.field_behavior) = REQUIRED, (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { min_length: 1; - max_length: 200; + max_length: 2048; example: "\"https://custom.com/login/idp/success\""; } ]; // URL to which the user will be redirected after a failed login. string failure_url = 2 [ - (validate.rules).string = {min_len: 1, max_len: 200, uri_ref: true}, + (validate.rules).string = {min_len: 1, max_len: 2048, uri_ref: true}, (google.api.field_behavior) = REQUIRED, (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { min_length: 1; - max_length: 200; + max_length: 2048; example: "\"https://custom.com/login/idp/fail\""; } ];