summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorWu Cheng-Han2017-03-14 18:04:23 +0800
committerWu Cheng-Han2017-03-14 18:04:23 +0800
commit506a381eca5e2bdc31d3529ecd3f1f7797551406 (patch)
tree99e91e926d3a30a2ecba7c5b3ef7af47efd08cfe /README.md
parentbaf13072c1eedf5bb8ba126059043241d104a99a (diff)
Add config option for gitlab api scope and auto adapt gitlab snippet feature on it
Diffstat (limited to 'README.md')
-rw-r--r--README.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/README.md b/README.md
index 77aff69a..a93c5732 100644
--- a/README.md
+++ b/README.md
@@ -128,6 +128,7 @@ Environment variables (will overwrite other server configs)
| HMD_TWITTER_CONSUMERSECRET | no example | Twitter API consumer secret |
| HMD_GITHUB_CLIENTID | no example | GitHub API client id |
| HMD_GITHUB_CLIENTSECRET | no example | GitHub API client secret |
+| HMD_GITLAB_SCOPE | `read_user` or `api` | GitLab API requested scope (default is `api`) (gitlab snippet import/export need `api` scope) |
| HMD_GITLAB_BASEURL | no example | GitLab authentication endpoint, set to use other endpoint than GitLab.com (optional) |
| HMD_GITLAB_CLIENTID | no example | GitLab API client id |
| HMD_GITLAB_CLIENTSECRET | no example | GitLab API client secret |