mirror of
https://github.com/zitadel/zitadel.git
synced 2025-10-20 17:49:12 +00:00
legacy introspection flag
This commit is contained in:
@@ -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:
|
||||
|
@@ -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)
|
||||
}
|
||||
|
||||
|
@@ -65,7 +65,7 @@ type Endpoint struct {
|
||||
}
|
||||
|
||||
type Features struct {
|
||||
ExperimentalIntrospection bool
|
||||
LegacyIntrospection bool
|
||||
}
|
||||
|
||||
type OPStorage struct {
|
||||
|
Reference in New Issue
Block a user