diff options
author | Frederic Guillot <fred@kanboard.net> | 2015-08-01 16:48:58 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2015-08-01 16:48:58 -0400 |
commit | ea24cfb07c38e121613980e35aa8b1d2d65ac72c (patch) | |
tree | 5f7043baacbc93a0eda90bf9f525de5a187786f1 /config.default.php | |
parent | 80a0c9f56075bb5cc9ece781d33d15abae75ede2 (diff) |
Enable support for Github Enterprise when using Github Authentication
Diffstat (limited to 'config.default.php')
-rw-r--r-- | config.default.php | 9 |
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); |