syntax = "proto3"; package zitadel.feature.v2beta; import "protoc-gen-openapiv2/options/annotations.proto"; import "validate/validate.proto"; import "zitadel/object/v2beta/object.proto"; import "zitadel/feature/v2beta/feature.proto"; option go_package = "github.com/zitadel/zitadel/pkg/grpc/feature/v2beta;feature"; message SetSystemFeaturesRequest{ reserved 2, 3, 6; reserved "oidc_trigger_introspection_projections", "oidc_legacy_introspection", "actions"; optional bool login_default_org = 1 [ (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { example: "true"; description: "The login UI will use the settings of the default org (and not from the instance) if no organization context is set"; } ]; optional bool user_schema = 4 [ (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { example: "true"; description: "User Schemas allow to manage data schemas of user. If the flag is enabled, you'll be able to use the new API and its features. Note that it is still in an early stage."; } ]; // Deprecated: the flag has been removed and `urn:ietf:params:oauth:grant-type:token-exchange` // grant type for the OIDC token endpoint is enabled by default. // Token exchange can be used to request tokens with a lesser scope or impersonate other users. // See the security policy to allow impersonation on an instance. // This field is only kept for backward compatibility and will be removed in the next major version of Zitadel. // Setting the field will have no effect. optional bool oidc_token_exchange = 5 [ deprecated = true ]; repeated ImprovedPerformance improved_performance = 7 [ (validate.rules).repeated.unique = true, (validate.rules).repeated.items.enum = {defined_only: true, not_in: [0]}, (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { example: "[1]"; description: "Improves performance of specified execution paths."; } ]; optional bool oidc_single_v1_session_termination = 8 [ (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { example: "true"; description: "If the flag is enabled, you'll be able to terminate a single session from the login UI by providing an id_token with a `sid` claim as id_token_hint on the end_session endpoint. Note that currently all sessions from the same user agent (browser) are terminated in the login UI. Sessions managed through the Session API already allow the termination of single sessions."; } ]; } message SetSystemFeaturesResponse { zitadel.object.v2beta.Details details = 1; } message ResetSystemFeaturesRequest {} message ResetSystemFeaturesResponse { zitadel.object.v2beta.Details details = 1; } message GetSystemFeaturesRequest {} message GetSystemFeaturesResponse { reserved 3, 4, 7; reserved "oidc_trigger_introspection_projections", "oidc_legacy_introspection", "actions"; zitadel.object.v2beta.Details details = 1; FeatureFlag login_default_org = 2 [ (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { example: "true"; description: "The login UI will use the settings of the default org (and not from the instance) if no organization context is set"; } ]; FeatureFlag user_schema = 5 [ (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { example: "true"; description: "User Schemas allow to manage data schemas of user. If the flag is enabled, you'll be able to use the new API and its features. Note that it is still in an early stage."; } ]; // Deprecated: the flag has been removed and `urn:ietf:params:oauth:grant-type:token-exchange` // grant type for the OIDC token endpoint is enabled by default. // Token exchange can be used to request tokens with a lesser scope or impersonate other users. // See the security policy to allow impersonation on an instance. // This field is only kept for backward compatibility and will be removed in the next major version of Zitadel. FeatureFlag oidc_token_exchange = 6 [ deprecated = true ]; ImprovedPerformanceFeatureFlag improved_performance = 8 [ (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { example: "[1]"; description: "Improves performance of specified execution paths."; } ]; FeatureFlag oidc_single_v1_session_termination = 9 [ (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { example: "true"; description: "If the flag is enabled, you'll be able to terminate a single session from the login UI by providing an id_token with a `sid` claim as id_token_hint on the end_session endpoint. Note that currently all sessions from the same user agent (browser) are terminated in the login UI. Sessions managed through the Session API already allow the termination of single sessions."; } ]; }