From 8eb739bb910fb91737c6ce65f244eb9a3ac8f35c Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sun, 23 Aug 2015 13:15:59 -0400 Subject: Add Gitlab authentication --- config.default.php | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'config.default.php') 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); -- cgit v1.2.3