grafana: Add OAUTH config
This commit is contained in:
parent
4df38b7e9a
commit
16e4c28603
1 changed files with 17 additions and 0 deletions
|
@ -43,3 +43,20 @@ enabled = false
|
||||||
[plugin.grafana-image-renderer]
|
[plugin.grafana-image-renderer]
|
||||||
rendering_timezone = Europe/Berlin
|
rendering_timezone = Europe/Berlin
|
||||||
rendering_language = de-DE
|
rendering_language = de-DE
|
||||||
|
|
||||||
|
[auth]
|
||||||
|
signout_redirect_url = {{ grafana_auth_signout_redirect_url }}
|
||||||
|
oauth_auto_login = false
|
||||||
|
|
||||||
|
[auth.generic_oauth]
|
||||||
|
name = {{ grafana_auth_generic_oauth_name }}
|
||||||
|
{% if grafana_auth_generic_oauth_enabled is defined and grafana_auth_generic_oauth_enabled %}
|
||||||
|
enabled = true
|
||||||
|
{% endif %}
|
||||||
|
client_id = {{ grafana_auth_generic_oauth_client_id }}
|
||||||
|
client_secret = {{ grafana_auth_generic_oauth_client_secret }}
|
||||||
|
scopes = openid email profile
|
||||||
|
auth_url = {{ grafana_auth_generic_oauth_auth_url }}
|
||||||
|
token_url = {{ grafana_auth_generic_oauth_token_url }}
|
||||||
|
api_url = {{ grafana_auth_generic_oauth_api_url }}
|
||||||
|
role_attribute_path = {{ grafana_auth_generic_oauth_role_attribute_path }}
|
||||||
|
|
Loading…
Reference in a new issue