|
|
@ -33,10 +33,10 @@ instance, if you access Grafana at `http://203.0.113.31:3000`, you should use |
|
|
|
http://203.0.113.31:3000/login/gitlab |
|
|
|
http://203.0.113.31:3000/login/gitlab |
|
|
|
``` |
|
|
|
``` |
|
|
|
|
|
|
|
|
|
|
|
Finally, select _read_api_as the_Scope_and submit the form. Note that if you're |
|
|
|
Finally, select `read_api` as the scope and submit the form. Note that if you're |
|
|
|
not going to use GitLab groups for authorization (i.e. not setting |
|
|
|
not going to use GitLab groups for authorization (i.e. not setting |
|
|
|
`allowed_groups`, see below), you can select_read_user_ instead of _read_api_as |
|
|
|
`allowed_groups`, see below), you can select `read_user` instead of `read_api` as |
|
|
|
the_Scope_, thus giving a more restricted access to your GitLab API. |
|
|
|
the scope, thus giving a more restricted access to your GitLab API. |
|
|
|
|
|
|
|
|
|
|
|
You'll get an _Application Id_ and a _Secret_ in return; we'll call them |
|
|
|
You'll get an _Application Id_ and a _Secret_ in return; we'll call them |
|
|
|
`GITLAB_APPLICATION_ID` and `GITLAB_SECRET` respectively for the rest of this |
|
|
|
`GITLAB_APPLICATION_ID` and `GITLAB_SECRET` respectively for the rest of this |
|
|
|