mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Merge pull request #2914 from anryko/master
Fixed configuration example for Github OAuth team_ids.
This commit is contained in:
commit
f0a13b2a0d
@ -266,7 +266,7 @@ automatically signed up.
|
|||||||
### team_ids
|
### team_ids
|
||||||
|
|
||||||
Require an active team membership for at least one of the given teams on
|
Require an active team membership for at least one of the given teams on
|
||||||
GitHub. If the authenticated user isn't a member of at least one the
|
GitHub. If the authenticated user isn't a member of at least one of the
|
||||||
teams they will not be able to register or authenticate with your
|
teams they will not be able to register or authenticate with your
|
||||||
Grafana instance. For example:
|
Grafana instance. For example:
|
||||||
|
|
||||||
@ -274,7 +274,7 @@ Grafana instance. For example:
|
|||||||
enabled = true
|
enabled = true
|
||||||
client_id = YOUR_GITHUB_APP_CLIENT_ID
|
client_id = YOUR_GITHUB_APP_CLIENT_ID
|
||||||
client_secret = YOUR_GITHUB_APP_CLIENT_SECRET
|
client_secret = YOUR_GITHUB_APP_CLIENT_SECRET
|
||||||
scopes = user:email
|
scopes = user:email,read:org
|
||||||
team_ids = 150,300
|
team_ids = 150,300
|
||||||
auth_url = https://github.com/login/oauth/authorize
|
auth_url = https://github.com/login/oauth/authorize
|
||||||
token_url = https://github.com/login/oauth/access_token
|
token_url = https://github.com/login/oauth/access_token
|
||||||
|
Loading…
Reference in New Issue
Block a user