Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nexpie-grafana-theme
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kornkitt Poolsup
nexpie-grafana-theme
Commits
3aa24b3a
Commit
3aa24b3a
authored
Dec 19, 2018
by
Tomas Dabasinskas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename the setting and add description
parent
08c12313
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
3 deletions
+6
-3
conf/defaults.ini
+1
-1
conf/sample.ini
+4
-1
pkg/social/social.go
+1
-1
No files found.
conf/defaults.ini
View file @
3aa24b3a
...
...
@@ -335,7 +335,7 @@ tls_skip_verify_insecure = false
tls_client_cert
=
tls_client_key
=
tls_client_ca
=
broken_auth_header_provider
=
false
send_client_credentials_via_post
=
false
#################################### Basic Auth ##########################
[auth.basic]
...
...
conf/sample.ini
View file @
3aa24b3a
...
...
@@ -283,7 +283,10 @@ log_queries =
;tls_client_cert =
;tls_client_key =
;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 ####################
[auth.grafana_com]
...
...
pkg/social/social.go
View file @
3aa24b3a
...
...
@@ -79,7 +79,7 @@ func NewOAuthService() {
TlsClientKey
:
sec
.
Key
(
"tls_client_key"
)
.
String
(),
TlsClientCa
:
sec
.
Key
(
"tls_client_ca"
)
.
String
(),
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
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment