Auth: Remove feature toggle `authAPIAccessTokenAuth` (#100055)

Remove feature toggle
This commit is contained in:
Karl Persson 2025-02-04 16:31:24 +01:00 committed by GitHub
parent bb15f24dcd
commit b16e290444
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with 3 additions and 16 deletions

View File

@ -165,7 +165,6 @@ export interface FeatureToggles {
kubernetesAggregator?: boolean;
expressionParser?: boolean;
groupByVariable?: boolean;
authAPIAccessTokenAuth?: boolean;
scopeFilters?: boolean;
ssoSettingsSAML?: boolean;
oauthRequireSubClaim?: boolean;

View File

@ -115,7 +115,7 @@ func ProvideRegistration(
authnSvc.RegisterClient(clients.ProvideJWT(jwtService, cfg))
}
if cfg.ExtJWTAuth.Enabled && features.IsEnabledGlobally(featuremgmt.FlagAuthAPIAccessTokenAuth) {
if cfg.ExtJWTAuth.Enabled {
authnSvc.RegisterClient(clients.ProvideExtendedJWT(cfg))
}

View File

@ -1109,14 +1109,6 @@ var (
HideFromDocs: true,
HideFromAdminPage: true,
},
{
Name: "authAPIAccessTokenAuth",
Description: "Enables the use of Auth API access tokens for authentication",
Stage: FeatureStageExperimental,
Owner: identityAccessTeam,
HideFromDocs: true,
HideFromAdminPage: true,
},
{
Name: "scopeFilters",
Description: "Enables the use of scope filters in Grafana",

View File

@ -146,7 +146,6 @@ tlsMemcached,GA,@grafana/grafana-operator-experience-squad,false,false,false
kubernetesAggregator,experimental,@grafana/grafana-app-platform-squad,false,true,false
expressionParser,experimental,@grafana/grafana-app-platform-squad,false,true,false
groupByVariable,experimental,@grafana/dashboards-squad,false,false,false
authAPIAccessTokenAuth,experimental,@grafana/identity-access-team,false,false,false
scopeFilters,experimental,@grafana/dashboards-squad,false,false,false
ssoSettingsSAML,preview,@grafana/identity-access-team,false,false,false
oauthRequireSubClaim,experimental,@grafana/identity-access-team,false,false,false

1 Name Stage Owner requiresDevMode RequiresRestart FrontendOnly
146 kubernetesAggregator experimental @grafana/grafana-app-platform-squad false true false
147 expressionParser experimental @grafana/grafana-app-platform-squad false true false
148 groupByVariable experimental @grafana/dashboards-squad false false false
authAPIAccessTokenAuth experimental @grafana/identity-access-team false false false
149 scopeFilters experimental @grafana/dashboards-squad false false false
150 ssoSettingsSAML preview @grafana/identity-access-team false false false
151 oauthRequireSubClaim experimental @grafana/identity-access-team false false false

View File

@ -595,10 +595,6 @@ const (
// Enable groupBy variable support in scenes dashboards
FlagGroupByVariable = "groupByVariable"
// FlagAuthAPIAccessTokenAuth
// Enables the use of Auth API access tokens for authentication
FlagAuthAPIAccessTokenAuth = "authAPIAccessTokenAuth"
// FlagScopeFilters
// Enables the use of scope filters in Grafana
FlagScopeFilters = "scopeFilters"

View File

@ -547,7 +547,8 @@
"metadata": {
"name": "authAPIAccessTokenAuth",
"resourceVersion": "1718727528075",
"creationTimestamp": "2024-04-02T15:45:15Z"
"creationTimestamp": "2024-04-02T15:45:15Z",
"deletionTimestamp": "2025-02-04T14:58:33Z"
},
"spec": {
"description": "Enables the use of Auth API access tokens for authentication",