Commit 3aa24b3a by Tomas Dabasinskas

Rename the setting and add description

parent 08c12313
...@@ -335,7 +335,7 @@ tls_skip_verify_insecure = false ...@@ -335,7 +335,7 @@ tls_skip_verify_insecure = false
tls_client_cert = tls_client_cert =
tls_client_key = tls_client_key =
tls_client_ca = tls_client_ca =
broken_auth_header_provider = false send_client_credentials_via_post = false
#################################### Basic Auth ########################## #################################### Basic Auth ##########################
[auth.basic] [auth.basic]
......
...@@ -283,7 +283,10 @@ log_queries = ...@@ -283,7 +283,10 @@ log_queries =
;tls_client_cert = ;tls_client_cert =
;tls_client_key = ;tls_client_key =
;tls_client_ca = ;tls_client_ca =
;broken_auth_header_provider = false
; Set to true to enable sending client_id and client_secret via POST body instead of Basic authentication HTTP header
; This might be required if the OAuth provider is not RFC6749 compliant, only supporting credentials passed via POST payload
;send_client_credentials_via_post = false
#################################### Grafana.com Auth #################### #################################### Grafana.com Auth ####################
[auth.grafana_com] [auth.grafana_com]
......
...@@ -79,7 +79,7 @@ func NewOAuthService() { ...@@ -79,7 +79,7 @@ func NewOAuthService() {
TlsClientKey: sec.Key("tls_client_key").String(), TlsClientKey: sec.Key("tls_client_key").String(),
TlsClientCa: sec.Key("tls_client_ca").String(), TlsClientCa: sec.Key("tls_client_ca").String(),
TlsSkipVerify: sec.Key("tls_skip_verify_insecure").MustBool(), TlsSkipVerify: sec.Key("tls_skip_verify_insecure").MustBool(),
BrokenAuthHeaderProvider: sec.Key("broken_auth_header_provider").MustBool(), BrokenAuthHeaderProvider: sec.Key("send_client_credentials_via_post").MustBool(),
} }
if !info.Enabled { if !info.Enabled {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment