Skip to main content

Configure Feature Flags

To disable local login when SSO is configured, update the following feature flag. This can be achieved by editing the setting configmap and updating the config.json with the following entries under features section:

{
"tenants": {
"default": {}
},
"features": {
"DISABLE_LOCAL_LOGIN_IF_SSO_ENABLED": true
}
}

Alternatively, you can edit the Helm charts to enable the same feature flags by editing the values.yaml file and populate the templates/settings-config.tpl file:

values.yaml file:

features:
DISABLE_LOCAL_LOGIN_IF_SSO_ENABLED: true

templates/settings-config.tpl file:

features: 
"DISABLE_LOCAL_LOGIN_IF_SSO_ENABLED": {{ .tenants.features.DISABLE_LOCAL_LOGIN_IF_SSO_ENABLED }}