Enable support for Github Enterprise when using Github Authentication

This commit is contained in:
Frederic Guillot
2015-08-01 16:48:58 -04:00
parent 80a0c9f560
commit ea24cfb07c
6 changed files with 38 additions and 4 deletions

View File

@@ -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);