summaryrefslogtreecommitdiff
path: root/config.default.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-08-01 16:48:58 -0400
committerFrederic Guillot <fred@kanboard.net>2015-08-01 16:48:58 -0400
commitea24cfb07c38e121613980e35aa8b1d2d65ac72c (patch)
tree5f7043baacbc93a0eda90bf9f525de5a187786f1 /config.default.php
parent80a0c9f56075bb5cc9ece781d33d15abae75ede2 (diff)
Enable support for Github Enterprise when using Github Authentication
Diffstat (limited to 'config.default.php')
-rw-r--r--config.default.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/config.default.php b/config.default.php
index 9c1a833d..baa9267d 100644
--- a/config.default.php
+++ b/config.default.php
@@ -130,6 +130,15 @@ define('GITHUB_CLIENT_ID', '');
// GitHub client secret key (Copy it from your settings -> Applications -> Developer applications)
define('GITHUB_CLIENT_SECRET', '');
+// Github oauth2 authorize url
+define('GITHUB_OAUTH_AUTHORIZE_URL', 'https://github.com/login/oauth/authorize');
+
+// Github oauth2 token url
+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 the reverse proxy authentication
define('REVERSE_PROXY_AUTH', false);