mirror of
https://github.com/zitadel/zitadel.git
synced 2025-10-16 04:30:06 +00:00

# Which Problems Are Solved
The go linter can't limit the checks to the diff in
https://github.com/zitadel/zitadel/pull/8283 because it's too large
# How the Problems Are Solved
The protos from https://github.com/zitadel/zitadel/pull/8283 are merged
separately
# Additional Context
Contributes to #7236
---------
Co-authored-by: Elio Bischof <elio@zitadel.com>
(cherry picked from commit bc16962aac
)
32 lines
921 B
Protocol Buffer
32 lines
921 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package zitadel.settings.v2;
|
|
|
|
option go_package = "github.com/zitadel/zitadel/pkg/grpc/settings/v2;settings";
|
|
|
|
import "protoc-gen-openapiv2/options/annotations.proto";
|
|
|
|
message SecuritySettings {
|
|
EmbeddedIframeSettings embedded_iframe = 1;
|
|
bool enable_impersonation = 2 [
|
|
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
|
|
description: "default language for the current context"
|
|
example: "\"en\""
|
|
}
|
|
];
|
|
}
|
|
|
|
message EmbeddedIframeSettings{
|
|
bool enabled = 1 [
|
|
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
|
|
description: "states if iframe embedding is enabled or disabled"
|
|
}
|
|
];
|
|
repeated string allowed_origins = 2 [
|
|
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
|
|
description: "origins allowed loading ZITADEL in an iframe if enabled."
|
|
example: "[\"foo.bar.com\", \"localhost:8080\"]"
|
|
}
|
|
];
|
|
}
|