Auth: configure SSO settings reload interval from the ini file (#80290)

* configure sso reload interval from ini file

* change section name to sso_settings
This commit is contained in:
Mihai Doarna
2024-01-12 10:24:16 +02:00
committed by GitHub
parent b53e0521d2
commit 39e4f8ec1b
3 changed files with 22 additions and 3 deletions
+9 -2
View File
@@ -577,6 +577,13 @@ id_response_header_prefix = X-Grafana
# The header value will encode the namespace ("user:<id>", "api-key:<id>", "service-account:<id>")
id_response_header_namespaces = user api-key service-account
#################################### SSO Settings ###########################
[sso_settings]
# interval for reloading the SSO Settings from the database
# useful in high availability setups running multiple Grafana instances
# set to 0 to disable this feature
reload_interval = 1m
#################################### Anonymous Auth ######################
[auth.anonymous]
# enable anonymous access
@@ -592,7 +599,7 @@ org_role = Viewer
hide_version = false
# number of devices in total
device_limit =
device_limit =
#################################### GitHub Auth #########################
[auth.github]
@@ -843,7 +850,7 @@ skip_org_role_sync = false
sync_cron = "0 1 * * *"
active_sync_enabled = true
#################################### AWS ###########################
#################################### AWS #####################################
[aws]
# Enter a comma-separated list of allowed AWS authentication providers.
# Options are: default (AWS SDK Default), keys (Access && secret key), credentials (Credentials field), ec2_iam_role (EC2 IAM Role)