summaryrefslogtreecommitdiff
path: root/config.default.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-08-23 13:15:59 -0400
committerFrederic Guillot <fred@kanboard.net>2015-08-23 13:15:59 -0400
commit8eb739bb910fb91737c6ce65f244eb9a3ac8f35c (patch)
treedb615be44d945a8dc1880a1238a381ec6534dfa2 /config.default.php
parent297c11e48e1cf18e5773a7463721d862dfd6063d (diff)
Add Gitlab authentication
Diffstat (limited to 'config.default.php')
-rw-r--r--config.default.php18
1 files changed, 18 insertions, 0 deletions
diff --git a/config.default.php b/config.default.php
index baa9267d..d5d1b30d 100644
--- a/config.default.php
+++ b/config.default.php
@@ -139,6 +139,24 @@ define('GITHUB_OAUTH_TOKEN_URL', 'https://github.com/login/oauth/access_token');
// Github API url (don't forget the slash at the end)
define('GITHUB_API_URL', 'https://api.github.com/');
+// Enable/disable Gitlab authentication
+define('GITLAB_AUTH', false);
+
+// Gitlab application id
+define('GITLAB_CLIENT_ID', '');
+
+// Gitlab application secret
+define('GITLAB_CLIENT_SECRET', '');
+
+// Gitlab oauth2 authorize url
+define('GITLAB_OAUTH_AUTHORIZE_URL', 'https://gitlab.com/oauth/authorize');
+
+// Gitlab oauth2 token url
+define('GITLAB_OAUTH_TOKEN_URL', 'https://gitlab.com/oauth/token');
+
+// Gitlab API url endpoint (don't forget the slash at the end)
+define('GITLAB_API_URL', 'https://gitlab.com/api/v3/');
+
// Enable/disable the reverse proxy authentication
define('REVERSE_PROXY_AUTH', false);