mirror of
https://github.com/zitadel/zitadel.git
synced 2025-02-28 21:47:23 +00:00
fix(api): extend client_secret length for generic oauth and oidc providers to 1000 (#6722)
This commit is contained in:
parent
5a9609ef29
commit
27e03120dc
@ -4887,7 +4887,7 @@ message AddGenericOAuthProviderRequest {
|
|||||||
}
|
}
|
||||||
];
|
];
|
||||||
string client_secret = 3 [
|
string client_secret = 3 [
|
||||||
(validate.rules).string = {min_len: 1, max_len: 200},
|
(validate.rules).string = {min_len: 1, max_len: 1000},
|
||||||
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
|
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
|
||||||
example: "\"client-secret\"";
|
example: "\"client-secret\"";
|
||||||
description: "Client secret generated by the identity provider";
|
description: "Client secret generated by the identity provider";
|
||||||
@ -4954,7 +4954,7 @@ message UpdateGenericOAuthProviderRequest {
|
|||||||
];
|
];
|
||||||
// client_secret will only be updated if provided
|
// client_secret will only be updated if provided
|
||||||
string client_secret = 4 [
|
string client_secret = 4 [
|
||||||
(validate.rules).string = {max_len: 200},
|
(validate.rules).string = {max_len: 1000},
|
||||||
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
|
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
|
||||||
example: "\"client-secret\"";
|
example: "\"client-secret\"";
|
||||||
description: "Client secret will only be updated if provided";
|
description: "Client secret will only be updated if provided";
|
||||||
@ -5025,7 +5025,7 @@ message AddGenericOIDCProviderRequest {
|
|||||||
}
|
}
|
||||||
];
|
];
|
||||||
string client_secret = 4 [
|
string client_secret = 4 [
|
||||||
(validate.rules).string = {min_len: 1, max_len: 200},
|
(validate.rules).string = {min_len: 1, max_len: 1000},
|
||||||
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
|
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
|
||||||
example: "\"secret\"";
|
example: "\"secret\"";
|
||||||
description: "secret generated by the identity provider"
|
description: "secret generated by the identity provider"
|
||||||
@ -5076,7 +5076,7 @@ message UpdateGenericOIDCProviderRequest {
|
|||||||
];
|
];
|
||||||
// client_secret will only be updated if provided
|
// client_secret will only be updated if provided
|
||||||
string client_secret = 5 [
|
string client_secret = 5 [
|
||||||
(validate.rules).string = {max_len: 200},
|
(validate.rules).string = {max_len: 1000},
|
||||||
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
|
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
|
||||||
example: "\"secret\"";
|
example: "\"secret\"";
|
||||||
description: "client secret will only be updated if provided";
|
description: "client secret will only be updated if provided";
|
||||||
|
@ -11759,7 +11759,7 @@ message AddGenericOAuthProviderRequest {
|
|||||||
}
|
}
|
||||||
];
|
];
|
||||||
string client_secret = 3 [
|
string client_secret = 3 [
|
||||||
(validate.rules).string = {min_len: 1, max_len: 200},
|
(validate.rules).string = {min_len: 1, max_len: 1000},
|
||||||
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
|
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
|
||||||
example: "\"client-secret\"";
|
example: "\"client-secret\"";
|
||||||
description: "Client secret generated by the identity provider";
|
description: "Client secret generated by the identity provider";
|
||||||
@ -11826,7 +11826,7 @@ message UpdateGenericOAuthProviderRequest {
|
|||||||
];
|
];
|
||||||
// client_secret will only be updated if provided
|
// client_secret will only be updated if provided
|
||||||
string client_secret = 4 [
|
string client_secret = 4 [
|
||||||
(validate.rules).string = {max_len: 200},
|
(validate.rules).string = {max_len: 1000},
|
||||||
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
|
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
|
||||||
example: "\"client-secret\"";
|
example: "\"client-secret\"";
|
||||||
description: "Client secret will only be updated if provided";
|
description: "Client secret will only be updated if provided";
|
||||||
@ -11897,7 +11897,7 @@ message AddGenericOIDCProviderRequest {
|
|||||||
}
|
}
|
||||||
];
|
];
|
||||||
string client_secret = 4 [
|
string client_secret = 4 [
|
||||||
(validate.rules).string = {min_len: 1, max_len: 200},
|
(validate.rules).string = {min_len: 1, max_len: 1000},
|
||||||
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
|
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
|
||||||
example: "\"secret\"";
|
example: "\"secret\"";
|
||||||
description: "secret generated by the identity provider"
|
description: "secret generated by the identity provider"
|
||||||
@ -11948,7 +11948,7 @@ message UpdateGenericOIDCProviderRequest {
|
|||||||
];
|
];
|
||||||
// client_secret will only be updated if provided
|
// client_secret will only be updated if provided
|
||||||
string client_secret = 5 [
|
string client_secret = 5 [
|
||||||
(validate.rules).string = {max_len: 200},
|
(validate.rules).string = {max_len: 1000},
|
||||||
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
|
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
|
||||||
example: "\"secret\"";
|
example: "\"secret\"";
|
||||||
description: "client secret will only be updated if provided";
|
description: "client secret will only be updated if provided";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user