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
d6f9ebab
Commit
d6f9ebab
authored
Sep 06, 2018
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
docs: Updated auth docs
parent
a25b5945
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
22 additions
and
26 deletions
+22
-26
docs/sources/auth/github.md
+1
-1
docs/sources/auth/gitlab.md
+2
-2
docs/sources/auth/google.md
+1
-1
docs/sources/auth/ldap.md
+16
-20
docs/sources/auth/overview.md
+1
-1
docs/sources/installation/configuration.md
+1
-1
No files found.
docs/sources/auth/github.md
View file @
d6f9ebab
...
...
@@ -4,7 +4,7 @@ description = "Grafana OAuthentication Guide "
keywords =
[
"grafana", "configuration", "documentation", "oauth"
]
type = "docs"
[
menu.docs
]
name = "GitHub
OAuth2
"
name = "GitHub"
identifier = "github_oauth2"
parent = "authentication"
weight = 4
...
...
docs/sources/auth/gitlab.md
View file @
d6f9ebab
...
...
@@ -4,7 +4,7 @@ description = "Grafana OAuthentication Guide "
keywords =
[
"grafana", "configuration", "documentation", "oauth"
]
type = "docs"
[
menu.docs
]
name = "GitLab
OAuth2
"
name = "GitLab"
identifier = "gitlab_oauth"
parent = "authentication"
weight = 5
...
...
@@ -45,7 +45,7 @@ section.
Add the following to your Grafana configuration file to enable GitLab
authentication:
```
ini
```
bash
[
auth.gitlab]
enabled
=
false
allow_sign_up
=
false
...
...
docs/sources/auth/google.md
View file @
d6f9ebab
...
...
@@ -4,7 +4,7 @@ description = "Grafana OAuthentication Guide "
keywords =
[
"grafana", "configuration", "documentation", "oauth"
]
type = "docs"
[
menu.docs
]
name = "Google
OAuth2
"
name = "Google"
identifier = "ggogle_oauth2"
parent = "authentication"
weight = 3
...
...
docs/sources/auth/ldap.md
View file @
d6f9ebab
...
...
@@ -16,29 +16,25 @@ The LDAP integration in Grafana allows your Grafana users to login with their LD
group memberships and Grafana Organization user roles. Below we detail grafana.ini config file
settings and ldap.toml config file options.
##
[auth.ldap]
##
Enable LDAP
### enabled
Set to
`true`
to enable LDAP integration (default:
`false`
)
### config_file
Path to the LDAP specific configuration file (default:
`/etc/grafana/ldap.toml`
)
### allow_sign_up
Allow sign up should almost always be true (default) to allow new Grafana users to be created (if ldap authentication is ok). If set to
false only pre-existing Grafana users will be able to login (if ldap authentication is ok).
<hr>
Grafana (2.1 and newer) ships with a strong LDAP integration feature.
## Configuration
You turn on LDAP in the
[
main config file
](
{{
<
relref
"
configuration
.
md
#
auth-ldap
"
>
}}) as well as specify the path to the LDAP
You turn on LDAP in the
[
main config file
](
{{
<
relref
"
installation
/
configuration
.
md
"
>
}}) as well as specify the path to the LDAP
specific configuration file (default:
`/etc/grafana/ldap.toml`
).
### Example config
```
bash
[
auth.ldap]
# Set to `true` to enable LDAP integration (default: `false`)
enabled
=
true
# Path to the LDAP specific configuration file (default: `/etc/grafana/ldap.toml`)
config_file
=
/etc/grafana/ldap.toml
`
# Allow sign up should almost always be true (default) to allow new Grafana users to be created (if ldap authentication is ok). If set to
# false only pre-existing Grafana users will be able to login (if ldap authentication is ok).
allow_sign_up
=
true
```
## LDAP Configuration
```
toml
```
bash
# To troubleshoot and get more log info enable ldap debug logging in grafana.ini
# [log]
# filters = ldap:debug
...
...
@@ -135,7 +131,7 @@ The search filter and search bases settings are still needed to perform the LDAP
## POSIX schema (no memberOf attribute)
If your ldap server does not support the memberOf attribute add these options:
```
toml
```
bash
## Group search filter, to retrieve the groups of which the user is a member (only set if memberOf attribute is not available)
group_search_filter
=
"(&(objectClass=posixGroup)(memberUid=%s))"
## An array of the base DNs to search through for groups. Typically uses ou=groups
...
...
docs/sources/auth/overview.md
View file @
d6f9ebab
...
...
@@ -14,7 +14,7 @@ weight = 1
Grafana provides many ways to authenticate users. Some authentication integrations also enable syncing user
permissions and org memberships.
## OAuth
2
Integrations
## OAuth Integrations
-
[
Google OAuth
](
{{
<
relref
"
auth
/
google
.
md
"
>
}})
-
[
GitHub OAuth
](
{{
<
relref
"
auth
/
github
.
md
"
>
}})
...
...
docs/sources/installation/configuration.md
View file @
d6f9ebab
...
...
@@ -324,7 +324,7 @@ Defaults to `false`.
Grafana provides many ways to authenticate users. The docs for authentication has been split in to many differnet pages
below.
-
[
A
nonymous access
](
{{
<
relref
"
auth
/
overview
.
md
"
>
}}) (auth.anonymous
)
-
[
A
uthentication Overview
](
{{
<
relref
"
auth
/
overview
.
md
"
>
}}) (anonymous access options, hide login and more
)
-
[
Google OAuth
](
{{
<
relref
"
auth
/
google
.
md
"
>
}}) (auth.google)
-
[
GitHub OAuth
](
{{
<
relref
"
auth
/
github
.
md
"
>
}}) (auth.github)
-
[
Gitlab OAuth
](
{{
<
relref
"
auth
/
gitlab
.
md
"
>
}}) (auth.gitlab)
...
...
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