diff options
author | Wu Cheng-Han | 2017-03-14 18:04:23 +0800 |
---|---|---|
committer | Wu Cheng-Han | 2017-03-14 18:04:23 +0800 |
commit | 506a381eca5e2bdc31d3529ecd3f1f7797551406 (patch) | |
tree | 99e91e926d3a30a2ecba7c5b3ef7af47efd08cfe /README.md | |
parent | baf13072c1eedf5bb8ba126059043241d104a99a (diff) |
Add config option for gitlab api scope and auto adapt gitlab snippet feature on it
Diffstat (limited to '')
-rw-r--r-- | README.md | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 | |