diff --git a/cmd/defaults.yaml b/cmd/defaults.yaml index e26313cfe55..8d072cc3673 100644 --- a/cmd/defaults.yaml +++ b/cmd/defaults.yaml @@ -315,7 +315,8 @@ OIDC: DefaultLoginURLV2: "/login?authRequest=" # ZITADEL_OIDC_DEFAULTLOGINURLV2 DefaultLogoutURLV2: "/logout?post_logout_redirect=" # ZITADEL_OIDC_DEFAULTLOGOUTURLV2 Features: - ExperimentalIntrospection: true + # Allows fallback to the Legacy Introspection implementation + LegacyIntrospection: false SAML: ProviderConfig: diff --git a/internal/api/oidc/introspect.go b/internal/api/oidc/introspect.go index f545617d711..6796d7ef1d4 100644 --- a/internal/api/oidc/introspect.go +++ b/internal/api/oidc/introspect.go @@ -23,7 +23,7 @@ func (s *Server) Introspect(ctx context.Context, r *op.Request[op.IntrospectionR ctx, span := tracing.NewSpan(ctx) defer func() { span.EndWithError(err) }() - if !s.features.ExperimentalIntrospection { + if s.features.LegacyIntrospection { return s.LegacyServer.Introspect(ctx, r) } diff --git a/internal/api/oidc/op.go b/internal/api/oidc/op.go index 7fd80983848..76caff42898 100644 --- a/internal/api/oidc/op.go +++ b/internal/api/oidc/op.go @@ -65,7 +65,7 @@ type Endpoint struct { } type Features struct { - ExperimentalIntrospection bool + LegacyIntrospection bool } type OPStorage struct {