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
21fed8c5
Unverified
Commit
21fed8c5
authored
Nov 27, 2019
by
Sofia Papagiannaki
Committed by
GitHub
Nov 27, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
OAuth: Add missing setting from defaults.ini (#20691)
parent
2f101d1d
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
9 deletions
+15
-9
conf/defaults.ini
+3
-0
conf/sample.ini
+12
-9
No files found.
conf/defaults.ini
View file @
21fed8c5
...
...
@@ -318,6 +318,7 @@ scopes = user:email,read:org
auth_url
=
https://github.com/login/oauth/authorize
token_url
=
https://github.com/login/oauth/access_token
api_url
=
https://api.github.com/user
allowed_domains
=
team_ids
=
allowed_organizations
=
...
...
@@ -331,6 +332,7 @@ scopes = api
auth_url
=
https://gitlab.com/oauth/authorize
token_url
=
https://gitlab.com/oauth/token
api_url
=
https://gitlab.com/api/v4
allowed_domains
=
allowed_groups
=
#################################### Google Auth #########################
...
...
@@ -378,6 +380,7 @@ role_attribute_path =
auth_url
=
token_url
=
api_url
=
allowed_domains
=
team_ids
=
allowed_organizations
=
tls_skip_verify_insecure
=
false
...
...
conf/sample.ini
View file @
21fed8c5
...
...
@@ -317,20 +317,22 @@
;auth_url = https://github.com/login/oauth/authorize
;token_url = https://github.com/login/oauth/access_token
;api_url = https://api.github.com/user
;allowed_domains =
;team_ids =
;allowed_organizations =
#################################### GitLab Auth #########################
[auth.gitlab]
; enabled = false
; allow_sign_up = true
; client_id = some_id
; client_secret = some_secret
; scopes = api
; auth_url = https://gitlab.com/oauth/authorize
; token_url = https://gitlab.com/oauth/token
; api_url = https://gitlab.com/api/v4
; allowed_groups =
;enabled = false
;allow_sign_up = true
;client_id = some_id
;client_secret = some_secret
;scopes = api
;auth_url = https://gitlab.com/oauth/authorize
;token_url = https://gitlab.com/oauth/token
;api_url = https://gitlab.com/api/v4
;allowed_domains =
;allowed_groups =
#################################### Google Auth ##########################
[auth.google]
...
...
@@ -367,6 +369,7 @@
;auth_url = https://foo.bar/login/oauth/authorize
;token_url = https://foo.bar/login/oauth/access_token
;api_url = https://foo.bar/user
;allowed_domains =
;team_ids =
;allowed_organizations =
;role_attribute_path =
...
...
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