From ea24cfb07c38e121613980e35aa8b1d2d65ac72c Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sat, 1 Aug 2015 16:48:58 -0400 Subject: Enable support for Github Enterprise when using Github Authentication --- config.default.php | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'config.default.php') 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); -- cgit v1.2.3