add more oauth related options
This commit is contained in:
parent
b279d0a9e2
commit
d88b0dc089
2 changed files with 7 additions and 3 deletions
|
|
@ -4,6 +4,9 @@ grafana:
|
||||||
secret_key: "{{ lookup('password', '/dev/null') }}"
|
secret_key: "{{ lookup('password', '/dev/null') }}"
|
||||||
instance_name: "${HOSTNAME}"
|
instance_name: "${HOSTNAME}"
|
||||||
root_url: "https://localhost"
|
root_url: "https://localhost"
|
||||||
|
signout_redirect_url: ""
|
||||||
|
disable_login_form: "false"
|
||||||
|
oauth_auto_login: "false"
|
||||||
oauth2:
|
oauth2:
|
||||||
enabled: "false"
|
enabled: "false"
|
||||||
name: "OAuth"
|
name: "OAuth"
|
||||||
|
|
@ -13,6 +16,7 @@ grafana:
|
||||||
token_url: ""
|
token_url: ""
|
||||||
api_url: ""
|
api_url: ""
|
||||||
scopes: ""
|
scopes: ""
|
||||||
|
role_attribute_path: "role"
|
||||||
plugins:
|
plugins:
|
||||||
"grafana-piechart-panel": {}
|
"grafana-piechart-panel": {}
|
||||||
datasources: {}
|
datasources: {}
|
||||||
|
|
|
||||||
|
|
@ -267,17 +267,17 @@ disable_gravatar = true
|
||||||
;token_rotation_interval_minutes = 10
|
;token_rotation_interval_minutes = 10
|
||||||
|
|
||||||
# Set to true to disable (hide) the login form, useful if you use OAuth, defaults to false
|
# Set to true to disable (hide) the login form, useful if you use OAuth, defaults to false
|
||||||
;disable_login_form = false
|
disable_login_form = {{ grafana.config.disable_login_form }}
|
||||||
|
|
||||||
# Set to true to disable the signout link in the side menu. useful if you use auth.proxy, defaults to false
|
# Set to true to disable the signout link in the side menu. useful if you use auth.proxy, defaults to false
|
||||||
;disable_signout_menu = false
|
;disable_signout_menu = false
|
||||||
|
|
||||||
# URL to redirect the user to after sign out
|
# URL to redirect the user to after sign out
|
||||||
;signout_redirect_url =
|
signout_redirect_url = {{ grafana.config.signout_redirect_url }}
|
||||||
|
|
||||||
# Set to true to attempt login with OAuth automatically, skipping the login screen.
|
# Set to true to attempt login with OAuth automatically, skipping the login screen.
|
||||||
# This setting is ignored if multiple OAuth providers are configured.
|
# This setting is ignored if multiple OAuth providers are configured.
|
||||||
;oauth_auto_login = false
|
oauth_auto_login = {{ grafana.config.oauth_auto_login }}
|
||||||
|
|
||||||
#################################### Anonymous Auth ######################
|
#################################### Anonymous Auth ######################
|
||||||
[auth.anonymous]
|
[auth.anonymous]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue