mirror of
https://github.com/zitadel/zitadel.git
synced 2025-10-25 10:41:49 +00:00
add config flag for experimental introspection
This commit is contained in:
@@ -45,6 +45,7 @@ type Config struct {
|
||||
DeviceAuth *DeviceAuthorizationConfig
|
||||
DefaultLoginURLV2 string
|
||||
DefaultLogoutURLV2 string
|
||||
Features Features
|
||||
}
|
||||
|
||||
type EndpointConfig struct {
|
||||
@@ -63,6 +64,10 @@ type Endpoint struct {
|
||||
URL string
|
||||
}
|
||||
|
||||
type Features struct {
|
||||
ExperimentalIntrospection bool
|
||||
}
|
||||
|
||||
type OPStorage struct {
|
||||
repo repository.Repository
|
||||
command *command.Commands
|
||||
@@ -120,6 +125,7 @@ func NewServer(
|
||||
|
||||
server := &Server{
|
||||
LegacyServer: op.NewLegacyServer(provider, endpoints(config.CustomEndpoints)),
|
||||
features: config.Features,
|
||||
repo: repo,
|
||||
query: query,
|
||||
command: command,
|
||||
|
||||
Reference in New Issue
Block a user