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
f31d6438
Commit
f31d6438
authored
Jan 03, 2018
by
Dan Cech
Committed by
Torkel Ödegaard
Jan 03, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add docs for using oauth login with OneLogin (#10385)
parent
58e0bdd7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
36 additions
and
1 deletions
+36
-1
docs/sources/installation/configuration.md
+36
-1
No files found.
docs/sources/installation/configuration.md
View file @
f31d6438
...
@@ -496,7 +496,7 @@ name = BitBucket
...
@@ -496,7 +496,7 @@ name = BitBucket
enabled
=
true
enabled
=
true
allow_sign_up
=
true
allow_sign_up
=
true
client_id
=
<client id>
client_id
=
<client id>
client_secret
=
<secret>
client_secret
=
<
client
secret>
scopes
=
account email
scopes
=
account email
auth_url
=
https://bitbucket.org/site/oauth2/authorize
auth_url
=
https://bitbucket.org/site/oauth2/authorize
token_url
=
https://bitbucket.org/site/oauth2/access_token
token_url
=
https://bitbucket.org/site/oauth2/access_token
...
@@ -505,6 +505,41 @@ team_ids =
...
@@ -505,6 +505,41 @@ team_ids =
allowed_organizations
=
allowed_organizations
=
```
```
### Set up oauth2 with OneLogin
1.
Create a new Custom Connector with the following settings:
-
Name: Grafana
-
Sign On Method: OpenID Connect
-
Redirect URI:
`https://<grafana domain>/login/generic_oauth`
-
Signing Algorithm: RS256
-
Login URL:
`https://<grafana domain>/login/generic_oauth`
then:
2.
Add an App to the Grafana Connector:
-
Display Name: Grafana
then:
3.
Under the SSO tab on the Grafana App details page you'll find the Client ID and Client Secret.
Your OneLogin Domain will match the url you use to access OneLogin.
Configure Grafana as follows:
```bash
[auth.generic_oauth]
name = OneLogin
enabled = true
allow_sign_up = true
client_id = <client id>
client_secret = <client secret>
scopes = openid email name
auth_url = https://<onelogin domain>.onelogin.com/oidc/auth
token_url = https://<onelogin domain>.onelogin.com/oidc/token
api_url = https://<onelogin domain>.onelogin.com/oidc/me
team_ids =
allowed_organizations =
```
<hr>
<hr>
## [auth.basic]
## [auth.basic]
...
...
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